>From the manual notes:

<?php 

if (@fclose(@fopen("http://www.example.com";, "r"))) { 
     print("File exists."); 
} else { 
     print("File does not exist."); 
} 

?>

 
Humberto Silva
World Editing
Portugal
 


-----Original Message-----
From: Disko_kex [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 15 de Janeiro de 2004 9:34
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Is the link correct?


Hi

$link = "http://www.does_not_exists.com";;

Is there a way to check if the link is correct and return true or false?

Thanks

//jocke

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

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

Reply via email to