php3-list | 199807
Date: 07/31/98
- Next message: Shane Caraveo: "RE: [PHP3] PHP3/Apache/NT problem"
- Previous message: Vladimir Litovka: "Re: [PHP3] attach files to mail"
- Next in thread: Colin Viebrock: "Re: [PHP3] check URL"
- Reply: Colin Viebrock: "Re: [PHP3] check URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello I'm using this code to check wether an URl exists:
It doesn't work in all cases. What's wrong or should I use other code?
Thanks
<?php
/*
$fp = fopen("http://www.hp.com", "r" );
echo "<br>";
echo "http://$naamurl";
echo "<br>";
echo $fp;
echo "<br>";
IF ($fp <> false) {
echo "URL exists" ;
} ELSE {
echo "URL doesn't exist" ;
}
fclose ($fp);
*/
?>
-------------------------------------------------------------
Spring Vision
Oudegracht 179 aan de werf
Postbus 10117
3505 AB Utrecht
The Netherlands
telefoon +31 30 2333771
telefax +31 30 2311793
email casper <email protected>
internet http://www.springvision.com
-------------------------------------------------------------
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Shane Caraveo: "RE: [PHP3] PHP3/Apache/NT problem"
- Previous message: Vladimir Litovka: "Re: [PHP3] attach files to mail"
- Next in thread: Colin Viebrock: "Re: [PHP3] check URL"
- Reply: Colin Viebrock: "Re: [PHP3] check URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

