I have a PHP page which chooses a PNG picture at random, and adds a string of text to it.
I've sucessfully done the mod_rewrite thing so a .PNG refers to the PHP page, and it works brilliantly.
Problem now is, I'm trying to improve this so I can pass a value into the PHP in the form of a query string and get it to determine the output depending on this value. I've managed to get the PHP to do this directly, but what I really want is to pass a query string to the 'fake' PNG reference and have it work that way too.
What I basically want to do is:
sig1.png ---> sig.php?sig=1
sig2.png ---> sig.php?sig=2
sig3.png ---> sig.php?sig=3
or a similar varient/variation of this, maybe sig.png,1 or sig,1.png
Thanks in advance,
Simon.