I have a php page that creates an image, and another that takes that image and adds a few more things. The problem is that the second doesn't like the .php file extension, so I want to change it to .gif.
Basically here's what I want:
photo.php?type=person&id=1 => photo/person/1.gif
But I don't want this applying to all my php pages.