Jump to content

Archived

This topic is now archived and is closed to further replies.

T-B0N3

Sending data from gallery to buy script

Recommended Posts

Hi there guys. I am having this php script that renders a web gallery (pretty basic I'd say). I would like to have a function on the photo so when I click on it I get redirected to a form where the filename is embbeded in the subject line. Is that possible and if yes how ?

Share this post


Link to post
Share on other sites
[!--quoteo(post=378317:date=May 30 2006, 02:03 AM:name=T-B0N3)--][div class=\'quotetop\']QUOTE(T-B0N3 @ May 30 2006, 02:03 AM) [snapback]378317[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hi there guys. I am having this php script that renders a web gallery (pretty basic I'd say). I would like to have a function on the photo so when I click on it I get redirected to a form where the filename is embbeded in the subject line. Is that possible and if yes how ?
[/quote]


well a quick solution would be to add something like this to your link

yourform.php?file=filename
and use $_GET to get the file name and store it in a variable

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.