Posted by ImOk on 07/12/06 15:56
I dont have code for this but you can do it fairly easily with sockets.
(see php docs)
1) create a socket resource
2) connect to the socket on port 80
3) send the URL
4) read the response.
Check for errors on each of the steps above
mindwarp wrote:
> Hi,
>
> I've looked on this newsgroup on google and on php.net, but I can find
> a work function which will allow me to check if a url exists?
>
> Can anyone provide me with one?
> or point we towards one?
>
> Best regards,
>
> Jules.
Navigation:
[Reply to this message]
|