Posted by Toby Inkster on 11/15/05 02:20
Krustov wrote:
> Any recommended methods I could use to check the url is valid before
> accepting it ? .
if ( @open($url, 'r') === FALSE )
echo "URL Fake\n";
else
echo "Go ahead!\n";
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|