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
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
20 - 9 = ?
Subscribe to this entry?

 
 [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 07:01:29 2024 UTC