PDA

View Full Version : FORM MAIL QUESTION


Metrov 8
11-30-2000, 09:46 PM
I am creating my first Flash Form. In the tutorials and .flas I've studied, they all use the following action in the 'send' button:

On (Release)
Load Variables ("http://www.server.com/cgi-bin/myform.cgi", 1, vars=POST)
End On

However, my server uses a system which is slightly different from the normal CGI. The code for sending a form action to my server is:

form action="/server-scripts/formail/FormMail.pl"/
INPUT type=hidden name="recipient"
value='[email protected]"

input type=hidden name="redirect" value="http://www.metrov2000.com/Pages/orderpage/orderthankyou.htm"

So, how do I modify the usual AS for a Flash Form so that it will work on my server's system?

Also, is there a way to 'redirect' to a Thank You movie?

Thank you very much, Metrov

Jesse
11-30-2000, 10:18 PM
The POST methods sends all variables within your movie along with the URL. So basically It adds "?" then a whole lot of variables. I haven't done Flash Forms yet, though I will soon, but I imagine the easiest way would be to have a variable that is set, at the start of the movie:

recipient = "[email protected]"

So that when you use the post method this invisible variable will be sent also....

You should be able to modify the path yourself. The .pl will work just like a .CGI as far as I know.

Cheers

Jesse

Metrov 8
11-30-2000, 10:54 PM
Thanks, Jesse

I'll get to work, and let you know how it turns out.

Metrov

Metrov 8
11-30-2000, 11:50 PM
WooHoooo

It WORKS! It Works!

Thanks a million.

Jesse
12-01-2000, 02:41 AM
Not a problem mate. Glad to hear it :)

Cheers

Jesse