PHP 4.0 Bug #10152: Success Warning with readfile("http://...");

From: Date: Wed, 04 Apr 2001 08:51:03 +0000
Subject: PHP 4.0 Bug #10152: Success Warning with readfile("http://...");
Groups: php.dev 
Request: Send a blank email to php-dev+get-50811@lists.php.net to get a copy of this message
From: aumann@mailer.uni-marburg.de Operating system: Linux Red Hat 7.0 PHP version: 4.0.4pl1 PHP Bug Type: *Directory/Filesystem functions Bug description: Success Warning with readfile("http://..."); [1. Script Code] <?php readfile("http://opachost.ub.uni-marburg.de/cgi-bin/nph-wwwp3?DB=BES2.SYS8&LANG= DU&EXT=OFF&CMD=f+kls+6+16"); ?> [2. configure-line] ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs [3. Output] Warning: readfile("http://opachost.ub.uni-marburg.de/cgi-bin/nph-wwwp3?DB=BES2.SYS8&LANG=DU&EXT=OFF&CMD=f+kls+6+16") - Erfolg in /herder1/httpd/html/php/sys_idx0.php on line 2 As you can see, instead of redirecting the output of "readfile" to STDOUT, the script produces a "success warning". As far as I can see, there are no real errors in the script. Do you have an idea of how to make the redirection work? Thank you very much! Yours, Stefan Aumann -- Edit Bug report at: http://bugs.php.net/?id=10152&edit=1

« previous php.dev (#50811) next »