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
 [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

Pull Requests

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: Wed Oct 09 22:01:27 2024 UTC