Observer11
asked on
how to i get my flash contact form to post the intormation to my constant contact account?
Hello. I have a website which has a flash contact form in which i would like the information to go into my clients Constant Contact database.
What would be the code i would need to have in the actionscript in order to do this?
Thank you
What would be the code i would need to have in the actionscript in order to do this?
Thank you
ASKER
thanks waltoor, i think he is using as1 (when i looked at the source files he provided it showed as1 as the default export)
im currently working in as2
(i tried his solution anyways and it didn't work :/
im currently working in as2
(i tried his solution anyways and it didn't work :/
What client side script language are you using? If it is PHP i can come up with a little example. Please let me know.
greetz
walter
greetz
walter
I do mean serverside langueage.
ASKER
ah yes.. php
Ow sorry, another question. Do you use Actionscript 2 or 3?
greetz,
walter
greetz,
walter
ASKER
2
Hellow observer,
I have made this little demo of a very siple contact form. I hope you can figure out the script and apply it to your application. I have commented the actionscript and the php files. Before you can use the php script you need to change the variable '$recipient_mail' on line 38, use your own email adres. And change the database settings to your database settings (line 50 to 53).
http://rapidshare.com/files/243729704/send_form_flash_php.zip.html
Hope this works for you.
greetz,
walter
I have made this little demo of a very siple contact form. I hope you can figure out the script and apply it to your application. I have commented the actionscript and the php files. Before you can use the php script you need to change the variable '$recipient_mail' on line 38, use your own email adres. And change the database settings to your database settings (line 50 to 53).
http://rapidshare.com/files/243729704/send_form_flash_php.zip.html
Hope this works for you.
greetz,
walter
ASKER
wow cool. thanks.
i noticed your submit button doesn't have any actionscipt directly on it.. is it suppose to be like this?
i noticed your submit button doesn't have any actionscipt directly on it.. is it suppose to be like this?
ASKER
also, in the php file, on the define ("DBSERVER", line.. in place of the "localhost"
.. is this where my site url would go or would it be another type of data?
.. is this where my site url would go or would it be another type of data?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Flash can send data using POST or GET. It depends on your server what kind of language you need to parse this sended data.
Here is a php example: http://www.kirupa.com/developer/actionscript/flash_php_email.htm
asp example: http://www.kirupa.com/developer/actionscript/forms_database.htm
I hope this is somegthing you can use.
greetz,
walter