Stefan Rusterholz wrote:
> >
> But if I understand this function right, It will only work for URLs like
> - what if the user has a free space from his ISP which
> is located in a subdir like

If you want to check subdirs you have to connect to the URL and look at
the response. 
You should use gethostbyname to check the domain (use some regular
expressions on the URL) and then try to connect to the server and send a
HTTP request (fsockopen and some other functions). 
Then you can check the response for error messages like 404.


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to