how would I...?

New to mod_rewrite? This is a good place to start.

how would I...?

Postby suraimu » Wed Jul 30, 2003 12:17 pm

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?
suraimu
 
Posts: 1
Joined: Wed Jul 30, 2003 12:14 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 32 guests

cron