Re: Reminder or answer to check if remote page is linking to you
| From: | John Holmes | Date: | Tue, 14 Sep 2004 13:07:02 +0000 |
| Subject: | Re: Reminder or answer to check if remote page is linking to you | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196617@lists.php.net to get a copy of this message | ||
From: "Mag" <genphp@yahoo.com>
I have been searching the archives for the past 2 hours without luck, I am looking for an older thread which was discussed on how to connect to a remote page and check if that page was linking back to blah.com, I think it was done via fopen. If you can tell me either, 1. the name of that thread or its url 2. how to do the above check I would really appreciate it.$page = file_get_contents('http://example.org/page.html'); Now use the string functions to search $page for a "href" back to your site. Not foolproof, but then nothing is. ---John Holmes...