From:             [EMAIL PROTECTED]
Operating system: 
PHP version:      4.0.4pl1
PHP Bug Type:     Filesystem function related
Bug description:  fopen() fails with Error 0 on Forbidden URLs

Perhaps this belongs in the URL related 
functions.

When fopen()-ing an URL that responds
with an HTTP 403 Forbidden, fopen()
fails with an Error 0.   There is no
way to distinguish this error from
a 'Not Found' type of error.

Workaround is to use cURL.

Eric


-- 
Edit Bug report at: http://bugs.php.net/?id=9847&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to