Check the existents of a link to your site on remote websites
This example will show you how this function works. Just check if a link to a given site in the code of a target website really exists. To test this function you need to know a website address and the URL from one of link elements inside the target website.
- Notice, only valid URL's will give a correct result.
- Don't worry about the trailing slash it's handled inside the script
- This script will not check if a link element is written in valid html code
Both URL's must be valid like: http://www.yourdomain.com/ or http://www.somedomain.com/with_page.html
Related PHP functions:
preg_quote | preg_match | fopen | feof | fread
Click here for the PHP script: (Back) link checker