php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9182 fopen() with port designated when opening a URL results in an error.
Submitted: 2001-02-08 16:58 UTC Modified: 2001-03-16 17:54 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
 [2001-02-08 16:58 UTC] manero at yossman dot net
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");

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-16 17:54 UTC] sniper@php.net
Works for me just fine with latest CVS. 
Try latest CVS snapshot from http://snaps.php.net/

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC