Is there a way to list all the links from an html page?
You can do it with Snoopy.
that's great, thanks!
What I Need to do is search a domain for a link back. Is there an easy way to search a domain for something with php? I could pull all the links using snoopy and then check each link - is that the best way? it seems like it would be hard to stay on the same domain though.
Do you mean something like this:
foreach ($snoopy_return as $link) { if (strpos($link, $my_domain) !== false) { echo 'Return link'; } else { echo 'Not return link'; } }
Not exactly - it would be more like this
so more like a recurrsive program. But the issue is staying on the domain. So if its foobar.com - staying within foobar for each page instead of visting another domain when you are going to that link.
Amy
Sorry, but you've lost me.
I want to search an entire domain for a link back.