Mark, This code looks promising, you need to make a PHP file and upload the large code, The small code snippet at the top calls the file and displays the page rank, do you think that would work and where whould i add the {$url}
http://www.pagerankcode.com/download-script.html
cheers