Показать сообщение отдельно

curl и IIS - 405 Method Not Allowed
  #1  
Старый 28.07.2009, 20:32
Дикс
Познавший АНТИЧАТ
Регистрация: 16.04.2006
Сообщений: 1,488
Провел на форуме:
2209675

Репутация: 537


Отправить сообщение для Дикс с помощью ICQ
Question curl и IIS - 405 Method Not Allowed

скачиваю курлом
http://www.destroyers.org/smrdd/USS_Harry_E._Yarnell.html

PHP код:
    $as_curl->rst();
    
$as_curl->set(CURLOPT_URLtrim($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
 
Ответить с цитированием