wich understand PHP. PHP is server side code.
pdcraft wrote:
> I have created this scene with all of the input fields with Instance names and
> have created the PHP file to go along with it.
> When I test my movie by way of (Ctrl+Enter), I fill in the fields and press
> submit but no email is sent to my email address in the PHP file.
>
>
http://apexls.com/navi-menu.html >
> //ActionScript:
>
> var senderLoad:LoadVars = new LoadVars();
> var receiveLoad:LoadVars = new LoadVars();
>
> submit.onRelease = function(){
> senderLoad.Name = Name.text();
> senderLoad.Phone = Phone.text();
> senderLoad.Fax = Fax.text();
> senderLoad.Email = Email.text();
> senderLoad.Address = Address.text();
> senderLoad.Comments = Comments.text();
>
> senderLoad.sendAndLoad("
http://www.apexls.com/home/apexls/send.php",receiveLoad
> );
> }
>
> receiveLoad.onLoad = function(){
> if(this.sentOk){
> _root.gotoAndStop("success");
> }
> else {
> _root.gotoAndStop("failed");
> }
> }
>
> //PHP:
>
> <?PHP
>
> $to = "paul@apexls.com";
> $subject = "Survey Request Submission";
> $message = "Name: " . $Name;
> $message .= "\nPhone: " . $Phone;
> $message .= "\n\nFax: " . $Fax;
> $message .= "\n\nEmail: " . $Email;
> $message .= "\n\nAddress: " . $Address;
> $message .= "\n\nComments: " . $Comments;
> $headers = "From: $Email";
> $headers .= "\nRely-To: $Email";
>
> $sentOk = mail($to,$subject,$message,$headers);
>
> echo "sentOk=" . $sentOk;
>
> ?>
>
> Again, I am trying to sent an email to Service Request email to a certain
> email address by way of php in Flash 8, I dont know what I am doing wrong, but
> if anyone can help me, it would be greatly appriciate.