ID: 9862 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Filesystem function related Assigned To: Comments: Works for me with latest CVS. Please try the latest CVS snapshot from http://snaps.php.net/ --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-20 05:46:03] [EMAIL PROTECTED] $file = "http://user:[EMAIL PROTECTED]:2222/file.html"; $fh = fopen($file, "r"); while(! feof($fh)) { ... } this script fails with the following error: Warning: fopen("http:[EMAIL PROTECTED]:2222/file.html","r") - Bad file descriptor in ... on line 2 this script runs with php 4.0.3pl1 and $file = "http://user:[EMAIL PROTECTED]/file.html" works too on php 4.0.4pl1, but I need the port in combination with a user and password!! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9862&edit=2 -- 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]