Hi,
On a link page I have I'd like to show if the links are valid (=exists)
I tried to do a pOpen (http://www.whatever.com/index.html,"r";) and if it
exists everything is fine but if it's not there I get a warning "failed to
create stream: HTTP request failed! HTTP/1.1 404 Object Not Found"
Opening the file is actually not necessary, I'm checking for existence. But
it's the only way I've found.  Is there a better way to do this?

I'm using PHP4 on a w2k workstation

Thanx
/Kjell



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to