note 6943 deleted from header by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 15:17:24 +0000 |
| Subject: | note 6943 deleted from header by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1165@lists.php.net to get a copy of this message | ||
hi guys, check this mama out. getting a page's headers. i've tried the code posted by
chopin@csone.kaist.ac.kr on 27-Aug-1999...there seems to be a really nasty problem. i want to check
downloads before they offered to the user. ie. get the download header and check whether it's a
404 Not Found. it appears some sites (eg. www.fortunecity.com, www.cybercities.com) auto redirect
404s to their home page or something similar, which has a totally different header...this causes the
function to return the download to be found when it should not be. however checking the header
using telnet (telnet www.fortuncity.com 80, then typing HEAD /download.zip HTTP/1.0nn) returns a 404
at correct times.........HELP!!!!!