Ok, I have a contact form that Im usting with a template that I paid for. I put my script in my submit button and put the email address in my php file and uploaded everything to the web. Now, I does send properly but when I recieve it in my email the name, email, phone, message are all blank and the title is the name of my server. Now heres what I got.
Submit Button
FrameCode:on(rollOver){gotoAndPlay("s1")} on(rollOut, releaseOutside){gotoAndPlay("s2")} on(release){ _parent.getURL("contact.php","blank","GET"); _parent.f1.text = "Name:"; _parent.f2.text = "E-mail:"; _parent.f3.text = "Phone:"; _parent.f4.text = "Message:"; }
Php ScriptCode:stop(); f1.text = "Name:"; f2.text = "E-mail:"; f3.text = "Phone:"; f4.text = "Message:"; f1.onSetFocus = function () { if (f1.text == "Name:") { f1.text = ""; } }; f1.onKillFocus = function () { if (f1.text == "") { f1.text = "Name:"; } }; f2.onSetFocus = function () { if (f2.text == "E-mail:") { f2.text = ""; } }; f2.onKillFocus = function () { if (f2.text == "") { f2.text = "E-mail:"; } }; f3.onSetFocus = function () { if (f3.text == "Phone:") { f3.text = ""; } }; f3.onKillFocus = function () { if (f3.text == "") { f3.text = "Phone:"; } }; f4.onSetFocus = function () { if (f4.text == "Message:") { f4.text = ""; } }; f4.onKillFocus = function () { if (f4.text == "") { f4.text = "Message:"; } };
If anyone could help me or if you need to see the website its http://www.kuhlkids.com and again thanks in advance.Code:<?php $your_name = $_GET['name']; $your_email = $_GET['email']; $your_phone = $_GET['phone']; $your_message = $_GET['message']; // change this to whatever you needed to be. $recipient = 'jmw74@tampabay.rr.com'; //you can make it say anything you want $subject = 'The Kuhlman Family'; // Do not edit anything else beyond this point $headers = 'Content-type: text/html; charset=iso-8859-1'; $content = "<html><head><title>Contact letter</title></head><body><br />"; $content .= "Name: <b>" . $your_name . "</b><br />"; $content .= "E-mail: <b>" . $your_email . "</b><br /><hr /><br />"; $content .= "Phone: <b>" . $your_phone . "</b><br />"; $content .= $your_message; $content .= "<br /></body>"; // The mail() function allows you to send mail. mail($recipient,$subject,$content,$headers); ?> <html> <body bgcolor="#282E2C"> <div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px; font-family:Tahoma;font-weight:bold"> Your message was sent. Thank you. </div> </body> </html> <script>resizeTo(300, 300)</script>






Bookmarks