Spidering an URL and look for outgoing links

Ask about a PHP problem here.
Post Reply
User avatar
Linkjuice57
Posts: 23
Joined: Tue Jul 12, 2011 2:44 pm

Spidering an URL and look for outgoing links

Post 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).
non-existent PHP newb
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Spidering an URL and look for outgoing links

Post by jacek »

You could just compare the domain ?

Which part are you having trouble with specifically ?
Image
Post Reply