View previous topic :: View next topic
Author
Message
Painkillerz Joined: 14 Sep 2003 Posts: 441 Location: La La Land
Posted: 02.05.2004 15:33 Post subject: flash php issue
eto koji sam ja debil, kad mi nim osniovni php ne ide.
Elem, imam obični flash contact form s tri polja (name, email, message), button s ovim actionscriptom:
Code: on (release) {
if (name eq "" or message eq "" or email eq "") {
stop();
} else {
loadVariablesNum("contact.php", 0, "POST");
gotoAndStop(2);
}
}
i fajl contact.php na serveru s ovim sadržajem:
Code: <?
$to = "thepainkillerz@yahoo.com";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $msg, "From: My web site\nReply-To: $email\n");
?>
Ali meni, kad netko ispuni taj form, stiže mail kao da netko nije ispunio polja - why's that?
_________________ JEWS FOR JESUS
Back to top
silence Joined: 24 Apr 2004 Posts: 890 Location: .....ni na nebu, ni na zemlji.....
Posted: 02.05.2004 15:46 Post subject:
onako od oka...da nije možda $_POST['_ime_varijable_'] u php skripti?
Back to top
Painkillerz Joined: 14 Sep 2003 Posts: 441 Location: La La Land
Posted: 02.05.2004 16:47 Post subject:
punofala :))
_________________ JEWS FOR JESUS
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group