How To Extract All URLs From A Page Using PHP

July 16th, 2007

A PHP function that extracts all URLs from a page and another one that translates a relative URL to absolute URL. Originally I wrote this for a crawler script. [...] Continue Reading…


Installing Scripts – The Eternal Questions

July 14th, 2007

If you’ve ever written a server-side script intended for distribution (as opposed to personal use), you’ve probably encountered the problem of needing to write a tutorial detailing the installation and setting up of the script. There are several typical tasks that you might need to describe – setting file [...] Continue Reading…


Logging In With CURL and PHP

July 7th, 2007

This is an example of how you can use CURL to “log in” and retrieve some protected info. I’ve showed the somewhat extreme case where you need to maintain cookies, spoof HTTP referer and use SSL. The example page used here is ClickBank – one of the largest digital [...] Continue Reading…


Squidoo MDK Problems

July 6th, 2007

No response from Squidoo about my countdown module yet, so I’m going to write about some problems I encoutered with the Module Development Kit. This is going to be technical and Squidoo-specific, so beware.

A bit of background : Squidoo offers a SDK for module development. This SDK (or MDK [...] Continue Reading…


A Countdown Module for Squidoo?

July 4th, 2007

Recently I decided to take a look at Squidoo and almost immediately I noticed they offered a Module Development Kit. After checking out the list of “Most Wanted” modules it seems a countdown module is a fairly popular idea and should be easy enough to do. A countdown module [...] Continue Reading…