ID: 8639 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Unknown/Other Function Assigned To: Comments: No feedback. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-14 06:48:52] [EMAIL PROTECTED] I've made some changes, fixed a bug and added more detailed error reporting. Could you try the latest code, either from CVS or snaps.php.net? I'm interested in the contents of $http_response_header and any error messages you get. --------------------------------------------------------------------------- [2001-01-10 15:15:52] [EMAIL PROTECTED] The problem could be that fopen() currently doesn't support HTTP redirects. Could you try to do var_dump($http_response_header); right after the fopen() call? If the header is a redirect, try to do fopen() with the new location. If not we'll have to investigate further. It would be useful to know what $http_response_header contains anyway. Stig --------------------------------------------------------------------------- [2001-01-10 10:49:00] [EMAIL PROTECTED] It seems that : $test=@fopen("http://$url/$urlphotos/".$reference."-1.jpg","r"); # (with all vars correct) always return true (at least with 4.0.4) ?! Is it because it's a picture ? Didn't test it with an html file though ... --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8639&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]