PHP 4.0 Bug #7894 Updated: fopen won't open an URL

From: Date: Tue, 10 Apr 2001 13:35:55 +0000
Subject: PHP 4.0 Bug #7894 Updated: fopen won't open an URL
Groups: php.dev 
Request: Send a blank email to php-dev+get-51280@lists.php.net to get a copy of this message
ID: 7894 Updated by: sniper Reported By: joaquin@mondongo.com.ar Old-Status: Feedback Status: Closed Bug Type: Filesystem function related Assigned To: venaas Comments: No feedback. If this happens with soon to be released PHP 4.0.5 too, reopen this bug report. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-08 20:30:23] sniper@php.net Please try the latest CVS snapshot from http://snaps.php.net/ --Jani --------------------------------------------------------------------------- [2001-01-07 14:29:06] venaas@php.net The reason might be that fopen() doesn't handle redirects. I hope to add redirect support again though. To check if this is the reason, check the contents of $http_response_header right after the fopen() call and see if it contains a redirect. --------------------------------------------------------------------------- [2000-11-20 13:47:00] joaquin@mondongo.com.ar <? fopen("http://www.yahoo.com/","r"); ?> This simple "fopen" works on one machine that has 4.0.1pl3, but in this machine with 4.0.3pl1 I get this error: Bad file descriptor --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7894&edit=2

« previous php.dev (#51280) next »