php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30939 readfile and fopen return blank page
Submitted: 2004-11-30 05:34 UTC Modified: 2004-12-11 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: spgurley at comcast dot net Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 4.3.8 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: spgurley at comcast dot net
New email:
PHP Version: OS:

 

 [2004-11-30 05:34 UTC] spgurley at comcast dot net
Description:
------------
Whenever i try either of the two codes that I listed, all i get is a blank screen

Reproduce code:
---------------
<?php
readfile("http://www.php.net/");
?>

<?php
$fp = fopen("http://www.php.net/","r");
fclose($fp);
?>

Expected result:
----------------
The page http://www.php.net/ will be shown

Actual result:
--------------
I get a blank page

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-30 17:57 UTC] iliaa@php.net
Is your allow_fopen_url ini option enabled?
 [2004-12-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 02:03:13 2021 UTC