Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
flash php issue

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
Painkillerz



Joined: 14 Sep 2003
Posts: 441
Location: La La Land

PostPosted: 02.05.2004 15:33    Post subject: flash php issue Add user to your forum ignore list Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
silence



Joined: 24 Apr 2004
Posts: 890
Location: .....ni na nebu, ni na zemlji.....

PostPosted: 02.05.2004 15:46    Post subject: Add user to your forum ignore list Reply with quote

onako od oka...da nije možda $_POST['_ime_varijable_'] u php skripti?
Back to top
View user's profile Send private message Visit poster's website
Painkillerz



Joined: 14 Sep 2003
Posts: 441
Location: La La Land

PostPosted: 02.05.2004 16:47    Post subject: Add user to your forum ignore list Reply with quote

punofala :))

_________________
JEWS FOR JESUS
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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