Home » Demos » Check the existents of a link to your site on remote websites

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.

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 tutorial: Parse html with preg_match