I have an email form that I’m sending to a PHP script.
It’s basically two variables, one for the senders email, and one for the message. They are both within a movieclip called ‘form’, and they are working with this code…
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
_level2.form.loadVariables(“email.php”, “POST”);
trace(form.message);
trace(form.email);
trace(_global.var_name);
}
I use level2 because this whole email form is being loaded onto level2 of my flash site.
What I’m trying to do is to send the _global.var_name to the PHP as well. It represents a makeshift radio button selection…and when I trace it, it works.
But either it’s not sending over there, or I’m doing something wrong with the syntax, or I’m not receiving it properly.
On the PHP side…I’m using…
$message = $_POST[“message”];
$message .= "
" . $_POST["_global.var_name"];
And it isn’t working. ANy thoughts? I’m so ready to get through this.