Jump to content

Sending data from gallery to buy script


T-B0N3

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 ?
Link to comment
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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.