Всем привет. Создал код, который хорошо работает на локалхосте, но не работает на серваке. Вот фрагмент: PHP: // Выполняем запрос function fetch($action, $fields="", $method="GET", $enctype="application/x-www-form-urlencoded") { // Авторизация if ($this->userpwd != "") curl_setopt($ch, CURLOPT_USERPWD, $this->userpwd); // Кукисы if (!is_writeable($this->cookie)) die ("Cannot write to $this->cookie"); // Конструктор if (($this->cookie != "") && touch($this->cookie)) { curl_setopt($ch, CURLOPT_COOKIEJAR, $this->cookie); curl_setopt($ch, CURLOPT_COOKIEFILE, $this->cookie); } ................ Это скрипт авторизаци в яше. На локалхосте авторизируется, а на серваке пишет В чем может быть причина?