php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38404 URL Wrappers do not work with specified ports
Submitted: 2006-08-09 21:49 UTC Modified: 2006-08-09 21:53 UTC
From: andrew dot nagy at villanova dot edu Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andrew dot nagy at villanova dot edu
New email:
PHP Version: OS:

 

 [2006-08-09 21:49 UTC] andrew dot nagy at villanova dot edu
Description:
------------
When I specify a URL that has a specified port number such as www.example.com:8080 the URL Wrappers do not recognize it.

I have tested this with is_file, is_readable, file_exists etc.

Reproduce code:
---------------
is_file('http://www.example.com:8080/myFile.txt');

Expected result:
----------------
true

Actual result:
--------------
false

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-09 21:53 UTC] tony2001@php.net
There are no files in HTTP.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 19 18:00:02 2025 UTC