I can't find a working function which will allow me to check if a url exists?
Can anyone provide me with one? Or help me create one?
You could always just use simple code like:
Or you could make a connection to port 80 and see if the connection rejects or not.Code:$content = fopen($url);
if ($content) {}
else {
// URL Does not exist
}
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks