#21267 [Ana]: fopen() fails on some URLs

From: Date: Sun, 29 Dec 2002 18:06:45 +0000
Subject: #21267 [Ana]: fopen() fails on some URLs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28686@lists.php.net to get a copy of this message
ID: 21267 User updated by: patric@liefdeis.com Reported By: patric@liefdeis.com Status: Analyzed Bug Type: *URL Functions Operating System: FreeBSD PHP Version: 4.3.0 New Comment: But can you tell me why in version 4.2.3 this works perfect? Previous Comments: ------------------------------------------------------------------------ [2002-12-29 10:05:47] rasmus@php.net That's because of the silly 302 temporary redirect to a relative URL with GET-method args that is done on that site. Open the right location and it should work fine. We probably should support this at some point though. ------------------------------------------------------------------------ [2002-12-29 09:44:51] patric@liefdeis.com When trying fopen() on http://, it fails on some urls. Example: fopen("http://www.smswhiz.com/","r"); Gives stream error. The site IS touched, but you do not receive any data back from the site. While for example: fopen("http://www.tweakers.net/","r"); Does work without any problem! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21267&edit=1

« previous php.bugs (#28686) next »