I'm making a dynamic image for a forum that doesn't allow dynamic images.
I tried using .htacess to redirect all *.png files to image.png... which works perfectly, but from here I can't seem to be able to get the filename of the .png that was requested to generate the content.
user puts in banana.png
htaccess forwards to image.php
I need a way of getting that banana into my php script.
$_SERVER["SCRIPT_NAME"] just returns that of the PHP file.
Is there a way of redirecting it to
image.php?=bananana for example?