Does a particular URL exist?

A difficult question and one there isn't a general answer to - but you can check whether an http:// URL is readable which is often the question that's being asked. With a URL such as a mailto:, the only way to check whether it exists is to send an email to it and see if you get an answer back from the address owner. You also need to take care with testing like this to ensure that the user can't enter local file URLs on your server and use it to check the existance (or otherwise) of files / directories ....

no URL entered (yet)

Please enter a URL you would like to validate (existance check):
The URL: and

Copyright Well House Consultants 2023

Training sample © 2023, WELL HOUSE CONSULTANTS LTD
This is
See source code here • More examples - same topic here
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: • WEB: