Archive for May, 2008

Extracing links from HTML using PHP

Many months ago there was a PHP competition to make the smallest script to extract all the links from a document. I’ve lost a link to the actual site, but the rules and conditions were set up expecting everyone to solve the problem with regular expressions. In my opinion relying on regular expressions to parse [...]

Posted by Matthew on May 1st, 2008

Filed under php, programming | No Comments »