Page 1 of 1

Enter a number, download an image corresponding to the #

Posted: Thu Jan 31, 2013 9:20 pm
by racoonfrenzy
Im looking for help on what should be a relatively simple code.

It could be written in html, but it would't have any security aspect to it...

I am trying to make a form where you enter a 4 digit number corresponding to an image on the server and click submit and it starts a download for an image file located on the server.

Alternatively it redirect you to the image, without downloading.

I havent been able to find any info on this. I would appreciate any help with this.

Thanks everybody, its greatly appreciated.

Re: Enter a number, download an image corresponding to the #

Posted: Thu Jan 31, 2013 9:45 pm
by requinix
And what security are you worried about? When you redirect to the image the user will see the URL and they can do whatever they want with it anyways.