php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bloch at incrementalimages dot com
New email:
PHP Version: OS:

 

 [2001-03-19 16:59 UTC] bloch at incrementalimages dot com
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

Patches

Pull Requests

History

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

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

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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC