PHP 4.0 Bug #9182: fopen() with port designated when opening a URL results in an error.

From: Date: Thu, 08 Feb 2001 21:58:50 +0000
Subject: PHP 4.0 Bug #9182: fopen() with port designated when opening a URL results in an error.
Groups: php.dev 
Request: Send a blank email to php-dev+get-46062@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: fopen() with port designated when opening a URL results in an error. When using fopen("http://www.foo.com:8000", "r") the following error occurs: Warning: fopen("http://www.foo.com:8000", "r") - Undefined error: 0 in /usr/home/manero/public_www/shoutcast/sc.php on line 5 Programmers should be able to pass a port and other CGI variables (i.e. fopen("http://www.foo.com:8000/blah.php?var=horsey", "r"); -- Edit Bug report at: http://bugs.php.net/?id=9182&edit=1

« previous php.dev (#46062) next »