|when users put this code into their sites this will display pagerank image |
What makes you think this will display an image?
Yes it will display an image
all the 11 images of page ranks e.g. 0 ,1, 2, 3, 4, 5, 6, 7, 8, 9, 10
are stored in the directory
getPagerank($url) variable will get that number and shows the related image
e.g. if the page rank is 2
then this will display make a image url i.e. [localhost...]
and this image will display on their sites link with my website
document.write("<img src='"+URLtoImage+"' />");
get your PHP to write out the call to the function with the URL.
What's not working? What does your PHP script look like?
But as eelixduppy states... what's not working?
but nothing happens
can any one provide me the complete coding for this page plz
Sorry, but that generally won't happen, please post the relevant snippet of code in a post, and tell us what the results are, then someone can help you diagnose the issue.
$url = $_GET['info'];
$image = "urdu/pr".getPagerank($url).".gif";
(it will display an page rank image which are already stored in folder
html source code : <img src="urdu/pr9.gif">
I need an embed code like this