|
11.04.2007, 13:22
основной код блока:
PHP код:
if (ini_get('allow_url_fopen')!=1) $comtent.= '<!-- MLE: 1 -->'; $params = array( 'v' => '1.0', 'id' => '34051', 's' => '692433669553167', 't' => time(), 'sh' => @$_SERVER['HTTP_HOST'], 'sr' => @$_SERVER['HTTP_REFERER'], 'su' => @$_SERVER['USER_AGENT'], 'sa' => @$_SERVER['HTTP_ADDR'], 'sq' => @$_SERVER['REQUEST_URI']); $query = array(); while (list($name, $value) = each($params)) $query[] = $name.'='.urlencode($value); $href = 'http://m-links.ru/code/links.php'.'?'.implode('&', $query); $content.=file_get_contents($href);
|
|