|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9847 fopen() fails with Error 0 on Forbidden URLs
Submitted: 2001-03-19 16:59 UTC Modified: 2001-10-29 02:38 UTC
From: bloch at incrementalimages dot com Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.0.4pl1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 + 1 = ?
Subscribe to this entry?

 [2001-03-19 16:59 UTC] bloch at incrementalimages dot com
Perhaps this belongs in the URL related 

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.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-29 02:37 UTC]
Moved this information into #9846, no use to have two
reports about same problem.

 [2001-10-29 02:37 UTC]
This information moved to #9846. No need for two reports
about same issue.

 [2001-10-29 02:38 UTC]
This information moved to #9846. No need for two reports
about same issue.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Oct 05 09:05:52 2022 UTC