Hi everyone,
I have a big problems with connection between my flash movie and php file.
So, what I`m trying to do?
I made 4 Input fields , Var: name, email, message . THe submit button is :
on(release) {
loadVariables("send.php", 0, "POST");
stop();
}
Php for is basic:
<?php
mail("myemail@domain.com" $_GET["name"], $_GET["message"], "From: domain.com
Reply-To: $_POST["email"]
X-Mailer: PHP/" . phpversion());
?>
The problem(s) - by trying different tutorials - are:
Status of page: Waiting for website … (cca 2 min) … Done / no email recived
or
Click on submit: doing nothing
and
on trace : undefined result all the time / but is defined in fla
Ok … now what I`ve tried?
Fields with Var and loadVariables / loadVariablesNum
and
Selected all field converted to Movieclip / name form
on submit: form.LoadVariables(“send.php”, 0, “GET”) / or POST in different situations.
What is wierd?
I took a fla and tested with my send forms … everything working.
I put that fla in my movie … got that "Waiting for website … " and status with sending … nothing happend.
What can I do to fix this to work on my movie ANY submit form
PS: sorry for my english