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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
8 - 5 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-09 21:53 UTC] tony2001@php.net
There are no files in HTTP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 08:01:29 2024 UTC