Page 1 of 1

PHP page from .jpg extension

Posted: Sun Nov 04, 2007 4:22 pm
by benyboi
Hello,

I run an image sotring website where a user can upload an image and get the url of that image for use on websites etc etc.

Is there anyway for me, when a user goes to xxxxx.com/upload/90wu0wqkqsa.jpg for it to load a php page instead with a GET variable of that file they just tried to get. Then on the php page show the image but also perform mysql queries.

If you understand me - is this possible?

Thanks!

Posted: Sun Nov 04, 2007 4:32 pm
by feyd
Yes.

Posted: Sun Nov 04, 2007 8:47 pm
by Kieran Huggins
nice 8)

mod_rewrite is what you seek