php|architect is hosting a coding contest that started on Saturday. The task is to grab the contents of an HTML file and grab all of the links out of it, removing duplicates.
You may use any built in function, the phpinfo() of the server used for testing will be attached. You just need to retrieve the links, you don't need to worry about them being relative or absolute.
It should be able to be called from the command line and return the links, one per line. They include how the scripts will be measured (speed, accuracy, etc) and the prize list - $100 gift card for phparch.com, a one year subscription or *drum roll* an autographed picture of ProPHP podcast hosts Paul Reinheimer and Sean Coates.
To submit your entry just email it over to email@example.com with the subject of "C7Y Contest - February" on it.