#24814 [Opn->Fbk]: Including URLs with ports does not work.

From: Date: Sat, 26 Jul 2003 15:58:52 +0000
Subject: #24814 [Opn->Fbk]: Including URLs with ports does not work.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-44796@lists.php.net to get a copy of this message
 ID:               24814
 Updated by:       iliaa@php.net
 Reported By:      mistermarvelous at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         URL related
 Operating System: Windows XP
 PHP Version:      4.3.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2003-07-25 22:18:47] mistermarvelous at hotmail dot com

Description:
------------
Ok when I try to include, readfile, fopen or any function of that type,
I get a error if the port is in the url.

For example
http://68.88.56.41:2525/index.html doesnt work.

but something like
http://www.google.com/index.html does work.

I don't know if this is a bug or a missing feature, but I am not able
to get this to work at all.

Reproduce code:
---------------
<?php
include("http://68.88.56.41:2525/index.html");
?>

Expected result:
----------------
Warning: main(http://68.88.56.41:2525/index.html): failed to open
stream: HTTP request failed! in C:\web\spherestatus.php on line 2

Warning: main(): Failed opening 'http://68.88.56.41:2525/index.html'
for inclusion (include_path='.;c:\php4\pear') in
C:\web\spherestatus.php on line 2



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24814&edit=1



Thread (3 messages)

« previous php.bugs (#44796) next »