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

From: Date: Fri, 09 Mar 2001 01:30:23 +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-48361@lists.php.net to get a copy of this message
ID: 7894 Updated by: sniper Reported By: joaquin@mondongo.com.ar Status: Feedback Bug Type: Filesystem function related Assigned To: venaas Comments: Please try the latest CVS snapshot from http://snaps.php.net/ --Jani Previous Comments: --------------------------------------------------------------------------- [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 (#48361) next »