
28.07.2009, 20:32
|
|
Познавший АНТИЧАТ
Регистрация: 16.04.2006
Сообщений: 1,488
Провел на форуме: 2209675
Репутация:
537
|
|
curl и IIS - 405 Method Not Allowed
скачиваю курлом
http://www.destroyers.org/smrdd/USS_Harry_E._Yarnell.html
PHP код:
$as_curl->rst();
$as_curl->set(CURLOPT_URL, trim($url));
$return = $as_curl->exec();
ИИС возвращает 405 и не отдаёт страницу.
Нагуглил только такое:
405 Method Not Allowed
This error is generally caused by IIS servers that cannot properly execute a request to the .php file extension.
Common Causes:
Testing Server URL Prefix is incorrect and does not point directly into the site folder on the testing server
|
|
|