Click to See Complete Forum and Search --> : image page


Vinny69
10-11-2008, 10:11 PM
i have seen on certain sites that they have a html page with an image, but the web address is the address of the image, how do they do it...
can someone please help me as i could do with this for my site...
thanks in advance
Vinny

scragar
10-11-2008, 10:18 PM
I do believe that is done using .htaccess to rewrite URLs, allowing a URL like

http://site.com/some_folder/1234567890.gif

to be rewritten for the server as something like:

http://site.com/some_folder/wrapper.php?imageID=1234567890

which can them be read in and used by the server side language to generate a page with any comments or anything else required for the page.

Vinny69
10-11-2008, 10:31 PM
ORITE, THANKS...
i will have a look into .htaccess