php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10152 Success Warning with readfile("http://...");
Submitted: 2001-04-04 04:51 UTC Modified: 2001-05-05 20:20 UTC
From: aumann at mailer dot uni-marburg dot de Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 4.0.4pl1 OS: Linux Red Hat 7.0
Private report: No CVE-ID: None
 [2001-04-04 04:51 UTC] aumann at mailer dot uni-marburg dot de
[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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-04 06:01 UTC] sniper@php.net
I tried your example script but that host must be some
internal one? Anyway I think this is fixed in latest CVS.
Please try a snapshot from http://snaps.php.net/

--Jani

 [2001-05-05 20:20 UTC] jmoore@php.net
No feedback. Closing
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC