This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > May 2005 > Question On Submitting Form
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Question On Submitting Form
|
|
| DaveDmd 2005-04-29, 11:15 pm |
| ve got my project almost completed. Now i'm facing with another challenge as
usuall. I dont know why this has to be so complicated, ive been searching for
the answer and still nothing yet.
I have components that i want to send the values or info to an email address,
a form. Needs to link to a PHP script. I cant find a decent sample or tutorial
ou there on how to do this. If any one has an idea please reply....:Q
| |
| droopy.ro 2005-04-30, 4:18 am |
| Hello,
this is relativelly simple.
you can use this code:
loadVariables("file.php", this.variables_mc,"POST");
this sends all the variables from the level the code is to the file.php file
using POST. then loads in the variables_mc all the variables the script
returns, if there are some. is there are, all the variables from the
variables_mc will be replaced by the new variables, even if the names aren't
the same, so be careful.
you can use as a method of sending variables the GET, by replacing POST in the
script.
you can find out more information if you search about loadVariables() funciton
in flash help.
I hope you will finish your project now.. good luck
| |
| DaveDmd 2005-05-02, 7:21 pm |
| coul you provide an example,
with 3 fields, like name(text input), email, subject.
I tried to look it up in help but cant seem to get it right. I dont understand the code enough.
Thanks
| |
| droopy.ro 2005-05-02, 7:21 pm |
| ok, i've done something..
i hope it will work, because my host doesn't support PHP so I can naot show
you a page with it working..
you can download the source from here(contains all the files needed) :
http://droopy.ro/exemples/send_vars.zip
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|