|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9180 readfile() with a URL can't take a port.
Submitted: 2001-02-08 15:16 UTC Modified: 2001-05-07 18:20 UTC
From: manero at yossman dot net Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: FreeBSD 4.2-R
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 !
Your email address:
Solve the problem:
47 - 43 = ?
Subscribe to this entry?

 [2001-02-08 15:16 UTC] manero at yossman dot net
readfile("") produces the following error: 

Warning: readfile("") - Undefined error: 0 in /usr/home/manero/public_www/sc.php on line 5

I'm not sure if readfile() can take cgi arguments either, such as:


Maybe it's just a feature in that it doesn't take a port, but it seems like it would be useful to be able to do this sort of thing.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-07 18:20 UTC]
Works for me with current CVS.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 18:03:42 2023 UTC