PDA

Click to See Complete Forum and Search --> : actionscript php form


Big Perm-dizzle
04-22-2004, 05:44 AM
here is the button's action

on (release) {
if (name eq '' or message eq '' or from eq '') {
stop();
} else {
lineAdapt();
loadVariablesNum('mail.php3', 0, 'POST');
_root.gotoAndStop('sent');
}
}


here is the php form

<?php
mail('annanordness@hotmail.com', $name, $message, 'From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/' . phpversion());
?>


I dont know whats wrong.......i click the send button and nothing happens and my hosting supports php

JUST LAUNCHED - www.hirethisdesigner.com (http://www.hirethisdesigner.com) - check it out

Ryan8720
04-22-2004, 06:36 AM
Did you put the code in the HTML page that the swf is in? Are your file extensions .php?

http://edgewebdesign.org/ryan2.gif (http://www.edgewebdesign.org)

C:\DOS
C:\DOS\RUN
RUN DOS RUN

Big Perm-dizzle
04-22-2004, 01:11 PM
file is email.php3

JUST LAUNCHED - www.hirethisdesigner.com (http://www.hirethisdesigner.com) - check it out

Ryan8720
04-22-2004, 11:34 PM
But does the page every change on your site. I looked like it stayed on the index page and the flash did all the work. Is the PHP code in the index file?

http://edgewebdesign.org/ryan2.gif (http://www.edgewebdesign.org)

C:\DOS
C:\DOS\RUN
RUN DOS RUN