From:             [EMAIL PROTECTED]
Operating system: Linux (x86)
PHP version:      4.0.6
PHP Bug Type:     URL related
Bug description:  fopen()/readfile()/file() URL cannot handle http://host:port/ syntax

This is probably not really bug, just a missing feature.

Basically the fopen()URL handler doesn't allow the specification of an
alternativ port within the url such as

http://hostname:port/path/file.html

I guess it will probably also not handle http://user:pass@host/, so maybe
you could add that as well sometime.

the following script:
  <?php
    readfile('http://localhost:8080/');
  ?>

results in the following output:

X-Powered-By: PHP/4.0.6
Content-type: text/html

<br>
<b>Warning</b>:  readfile("http://localhost:8080/";) - Success in <b>-</b>
on line <b>2</b><br>


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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to