Page 1 of 1

Spidering an URL and look for outgoing links

Posted: Mon Oct 17, 2011 2:27 pm
by Linkjuice57
Hi,

I had an idea for a PHP script, but I dont have a single clue on how to get started and make it. So I was wondering if anyone can push me in the right direction? Or is it too advanced for a newb like myself?

So the idea is:
Enter the URL of a webpage e.g.: http://betterphp.co.uk/. List all links on that page and filter out the outgoing links. So those linking to another website (Youtube, Wikipedia etc).

Re: Spidering an URL and look for outgoing links

Posted: Mon Oct 17, 2011 4:37 pm
by jacek
You could just compare the domain ?

Which part are you having trouble with specifically ?