PDA

View Full Version : Help with a tutorial ...


GoldRain
07-02-2001, 10:05 AM
Hello. This post is in regards to this tutorial here:

http://www.actionscripts.org/tutorials/intermediate/php_send_mail/index.shtml

I am making something similar that has 6 text fields and a check box (with two options). Does anyone know how I can convert the .php file and the actionscript in the .fla to make it work for me ?.

I think the main things that need changing are the .php file and the actionscript from the first frame of the .fla.

I am not after anything fancy, just 6 different strings and 1 variable (the check box) from the user at my Flash site. I don't need the reply email address or subject line like a normal email - I can just pull apart what I get.

If this is a heavy request I am after, please let me know and I will try and simplify what I am asking with what I already know.

Regards,
Stephen.

Jesse
07-03-2001, 01:44 AM
we've discussed this previously if you want to do a search you will find some other posts. they pretty mcuh all say the same thing. PHP accepts only one string as the body of the email so you must concatenate all your other strings together (before or after you send, it makes no difference - just comes down to if you know Flash or PHP better). I would advise that you send button concatted you variable together into one long string var then deleted the orriginal small ones.
also see: http://www.php.net/manual/en/function.mail.php