php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #965 fopen() fails to open files starting with http://
Submitted: 1998-12-02 19:45 UTC Modified: 1998-12-21 13:37 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: derricuttm at pbworld dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.5 OS: Windows NT
Private report: No CVE-ID: None
 [1998-12-02 19:45 UTC] derricuttm at pbworld dot com
Under Apache/NT/PHP the following line of code fails:

  $fp = fopen("http://slashdot.org/ultramode.txt","r");

This generates the following error:

Warning: fopen("http://slashdot.org/ultramode.txt","r") - No such file or directory in c:\program files\apache group\apache\htdocs\index.phtml on line 37.

The same script works properly under Apache/Linux/PHP.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-12-21 13:37 UTC] shane
Working fine under current CVS tree.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 08:01:32 2024 UTC