Jump to content

email form help almost got it..


mgmediaworks

Recommended Posts

what am I missing..?

 

i get the email ..but.. none of the fields..in my email..

 

i have a flash site.. have three fields.. name, email, and message..

but get nothing....

and how do I get it to come back to my www.queyano.com site  once the form is submitted..

 

<?

 

  $to = "sandro@mgmediaworks.com";

  $msg = "Name of sender:            $name\n\n";

  $msg .= "Sender's E-Mail Adress:    $email\n\n";

  $msg .= "Message from Sender:      $message\n\n";

 

  mail($to, $msg, "From: yourwebsite Form\nReply-To: $email\n");

 

?>

 

 

 

oh and  since the form is called process...in my flash button parameter I have this..

 

 

on (release) {

getURL("http://www.queyano.com/process.php", "", "POST");

}

 

 

if this is to confusing.. who or where can I go to pay someone to edit my flash fields

and make this little email form..

thanx

Link to comment
Share on other sites

Bit of a stab in the dark, but have you got the variables from the $_POST array?

 

<?php
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'

  $to = "sandro@mgmediaworks.com";
  $msg = "Name of sender:             $name\n\n";
  $msg .= "Sender's E-Mail Adress:    $email\n\n";
  $msg .= "Message from Sender:       $message\n\n";

 mail($to, $msg, "From: yourwebsite Form\nReply-To: $email\n");

?>

 

Also, to redirect:

header("location:http://www.queyano.com");

Link to comment
Share on other sites

from the look of what mgmediaworks posted, the actionscript of his flash movie is wrong

 

you need to tell the flash movie where to send the variables by using the form.loadVariables

tell it what file to send them to and by what method

like this:

form.loadVariables("email.php", "POST");

 

are you wanting it to show a html page?

or a frame on the flash movie?

Link to comment
Share on other sites

Bit of a stab in the dark, but have you got the variables from the $_POST array?

 

<?php
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'

  $to = "sandro@mgmediaworks.com";
  $msg = "Name of sender:             $name\n\n";
  $msg .= "Sender's E-Mail Adress:    $email\n\n";
  $msg .= "Message from Sender:       $message\n\n";

 mail($to, $msg, "From: yourwebsite Form\nReply-To: $email\n");

?>

 

Also, to redirect:

header("location:http://www.queyano.com");

 

Im not sure if that code works but on the 4th line you missed a ']

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.