php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4040 fopen url won't work as expected
Submitted: 2000-04-04 20:04 UTC Modified: 2002-10-01 12:51 UTC
From: poc at baden-online dot de Assigned:
Status: Wont fix Package: Misbehaving function
PHP Version: 3.0.15 OS: Linux - 2.2.14/glibc 2.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: poc at baden-online dot de
New email:
PHP Version: OS:

 

 [2000-04-04 20:04 UTC] poc at baden-online dot de
Doing
<pre>
$fp=fopen($PATHURL,"r");

if ( $fp ) {
    while ( $line=fgets($fp, 2048) ) {
        echo("$line");
    }
    fclose($fp);
</pre>
works fine with php-3.0.12 but seems to be broken with 3.0.14 and later. URL-Wrapper has not been disabled by configure.

With 3.0.14 or later, I get an error:
<pre>
fopen("http://here-is-the-url","r") - Success in <b>scriptname</b>
on line <b>linenum</b>
</pre>
3.0.12 works.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 12:51 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 10:01:30 2024 UTC