This should work:
$url = http://www.php.net;
if ($fp = fopen ($url, "r"))
{
/* DO THE STUFF */
}
Of course the entire web page can be retrieved through the created file
pointer.
/Daniel
-----Opprinnelig melding-----
Fra: Steve Haemelinck [mailto:[EMAIL PROTECTED]]
Sendt: 19. mars 2001 15:27
Til: PHP Mailing Listl (E-mail)
Emne: [PHP] Checking if a web, a url really exists ?
Anybody got an idea on how to check if a url really exists ?
--
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]
--
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]