php3-list | 199807
Date: 07/31/98
- Next message: Cary Collett: "Re: [PHP3] List Split"
- Previous message: Christopher Curtis: "[PHP3] Array of checkboxes"
- In reply to: Casper Scheffer: "[PHP3] check URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Also sprach Casper Scheffer (at 12:23 PM 7/31/98 +0200) ...
>Hello I'm using this code to check wether an URl exists:
Doesn't the file() command accept URLs? If so, then this is a bit easier:
<?
if (file($urltocheck)):
echo "URL is ok";
else:
echo "URL is bad";
endif;
?>
.........................................................................
Colin Viebrock Creative Director - Private World Communciations
cmv <email protected> http://www.privateworld.com
ICQ: 11386088
Life is cheap,
but the accessories can kill you.
-- 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: Cary Collett: "Re: [PHP3] List Split"
- Previous message: Christopher Curtis: "[PHP3] Array of checkboxes"
- In reply to: Casper Scheffer: "[PHP3] check URL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

