Ok,
New topic...Photo-Graffix ( http://www.photo-graffix.com) it's a flash gallery and I am currently using it for a product gallery...A simple gallery (I hope) other wise, I will have to trash it and find another idea...Anyway, here's the idea...
I created a checkout.php page for the gallery so products can be purchased off that page, and then the person could make a printer friendly page out of it, and print it.
Here's my problem, I need to know if it's possible, without too much work to create sessions for each image that is added to the checkout page from the gallery? I already figured out the variable part (that I was complaining about before), which if anyone wants to know, they say you have to have it this way:
Url (used to load the image from the gallery)
Code:
http://www.photo-graffix.com/galleryc/checkout.php?photoname='YourImage'
This is a working url that phto-graffix.com did for me.
The Php Code (Resides inside my checkout.php page with an html form)
Code:
<?php $name = $_GET['photoname']; echo $name ?>
meaning yourimage is not a variable that defines all images in the gallery, you need to specify the actual image name to the end of the url to display it in your 'checkout' page.
So anyway, I now need to be able to store more than one image into a session, so if someone wants to add a different item to checkout.php page it will work. It doesn't make sense to have one item in the 'checkout.php' page or 'basket' and then they have to print, then do it again for a different item. You get the idea. Could this be done pretty quick or is this something that is not worth the effort for a gallery script.
__________________
Made2Own
Last edited by Brian07002; 06-22-2007 at 10:54 PM..
|