What I want to do is this: I have a script on another site that uses an IMG tag to get an image from my personal webspace, with a number based on a number of posts in the forum it's linking from.
For example, if there are ten posts, it requests:
http://www.mydomain.com/images/10.gif
and if there are fifty, it requests:
http://www.mydomain.com/images/50.gif
What I want it to do is:
- if the number is zero, show 0.gif
- if the number is any other number, show other.gif
how would I pull this off?