I've tried for a while now to figure out how to test from within php 
if a url (http://xxx/file.html) is present and what error code is 
returned (200,201,202,404, etc...)

the only way to test a url seems to be to open
and see if it can be done. but that completely suppresses any error 
codes and especially redirects. Has anyone figured out how to pull out 
http error codes using php?


PHP General 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]

Reply via email to