|
Posted by Krustov on 11/15/05 03:08
<comp.lang.php , Toby Inkster , usenet200511@tobyinkster.co.uk>
<b7mn43-qsb.ln1@ophelia.g5n.co.uk>
<Tue, 15 Nov 2005 00:20:27 +0000>
> > 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";
>
Thanks dude - will try it shortly .
Navigation:
[Reply to this message]
|