From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to