This is a very simple script to check whether a website exist or not using php.We will be passing the required url as a query string and get that using $_GET
the URL should look like this
http://www.mydomainfortest.com/testurl.php?myurl=http://mistonline.in

Save the below file as testurl.php or whatever 🙂 make sure to change the url style with the exact file name.

Download the file here

Leave a Reply

Your email address will not be published. Required fields are marked *