Msg#: 4576627 posted 6:01 pm on May 22, 2013 (gmt 0)
Okay - 1st off. I am a WYSIWYG Flash animator, Web Author, Photoshop Guy. I am totally unschooled in the practice of syntax programming. That being said, I have sucessfully programmed my HTML Form ( which contains Text Fields, Check Boxes, and Radio Buttons), and passed the inputted variables to my gdform4.php page using: echo $_POST["myvariable"]. This page has all needed posted data displayed and formatted nicely. No errors that I am aware of. Below all of the variables displayed, I have 2 graphics I am using. 1 graphic is a red thumbs down, that is a URL back to the order page. The green Thumbs up graphic is a URL to a grthankyou.php page.
How do I get all of the submitted variables from my HTML form that is now displyed on my gdform4.php to be e-mailed when I select the green thumbs up button and I am forwarded to my thank you page?
Since I am a total hack that is just now getting my feet wet, I would appreciate assistance in the simplest and quickest solution to my issue. I have been experimenting with arrays, but I'm just not ready.
Msg#: 4576627 posted 8:36 pm on May 22, 2013 (gmt 0)
You make the page you output from your "gdform4.php" to contain a html form itself. The fields can be hidden and the green button a submit button. The action would then be another php script on your server that would use the hidden fields (they are just normal fields to that script and send the email, and issue a location header to the user.
Pretty straightforward, but there's a but, a big one: security.
Spammers will find your second script and if the destination of that email can be controlled, they'll have a ball.
Msg#: 4576627 posted 6:49 am on May 23, 2013 (gmt 0)
There is a setting on the ftp control panel of my web host that allows me to specify an e-mail address that the php output can be sent to. I can now see the security reasons why they did that. So assuming I will not expose my e-mail address in the code to would-be hackers, How do I turn my green thumbs up graphic on my gdform4.php page to act as a submit e-mail button that includes all of the variables that have populated my confirmation page. If anybody can spoon feed me with actual code snippets or examples I can mess with, I'd appreciate it. Also looking at the Query string functions built into the hyperlink parameters options for Microsoft Expressions. Perhaps the answer lies there... Thank you in advance! Help me Obi Wan Kenobi! You my only hope!