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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aumann at mailer dot uni-marburg dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Nov 23 22:01:28 2024 UTC