PHP 4.0 Bug #9180: readfile() with a URL can't take a port.

From: Date: Thu, 08 Feb 2001 20:16:31 +0000
Subject: PHP 4.0 Bug #9180: readfile() with a URL can't take a port.
Groups: php.dev 
Request: Send a blank email to php-dev+get-46057@lists.php.net to get a copy of this message
From: manero@yossman.net Operating system: FreeBSD 4.2-R PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: readfile() with a URL can't take a port. readfile("http://www.foo.org:8000") produces the following error: Warning: readfile("http://www.foo.org:8000") - 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: readfile("http://www.foo.org/horsey.php?arg1=one&arg2=two"); 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. -- Edit Bug report at: http://bugs.php.net/?id=9180&edit=1

« previous php.dev (#46057) next »