Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




About My Question ; Tutorial 06 Send Mail Contact Form (PHP And Flash)



i asked before about Tutorial 06 Send Mail Contact Form (PHP and Flash) and somebody told me i need to use php server to chack it.
but if i put my page in my site i still need to connect php server? i have the old page in my site the same but i cant rreach the guy and if i need to know his php server i can i do it without him?



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 08-06-2006, 08:36 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Flash Contact Form 'send' Button..
Hi...

I would really appreciate some help on this.

I'm very new to flash and i'm having problems making a 'send' button work on my contact form. I have found lots of sites explaining how to do this with the help of a PHP script but that doesn't help me as my server doesn't support PHP.

I also found out it may be possible using a cgi script....this is something the server does support but I can work out how to make it work.

I downloaded a cgi script and placed it in a folder i created on the server called cgi-bin, gave the folder and file 755 attributes. Then I edited the button to link it to the script but I either get a 404 error or access denied.

Can someone please help me do this?

Thank you

Help Getting Flash To Send Data To Php Contact Form Please...
I am struggling to get Kirupa's php contact form tutorial to work within a client's website.

Kirupa's source files work perfectly when I upload them to my server - but when I insert the form into my flash website - I am unable to receive the contact email at all.

The problem must be within the .fla file because I have not altered the php (except to change the email address to send to my email) The php file worked fine with the source .fla form. I basically copied the symbols form the source form into the .fla - then double checked the var_names and everything shoudl be good to go.

I am using Flash CS3 (but publishing for AS2) I have double checked all my input fields are named correctly with var_names that match the php code. The form fields have been created as a movieclip named "form" and the following action script attached:

onClipEvent(data){
// show welcome screen
_root.nextFrame();
}

the send button has the following code attached:

on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
}

Basically everything is identical to Kirupa's tutorial source files (which I tested with success) except it has been inserted into a flash website timeline - I also double checked there was no conflicting AS code anywhere else in the file.

Still, no email contact is received at all.
Anyone have a clue what I am missing???

Much appreciated!

How To Send Mail With Form In Flash ?
I want to use some form mail in my flash movie, so user only have to input name, their email & comment on the form. When they click the send button, it will automatically send to my email. Can anybody help me ? Is Javascript can handle this problem ?

ASP Form With Flash - Send Mail
Hello to everyone in this forum.

I have this ASP form for my SEND MAIL form in Flash.
.................................................. .................................................. ............................
<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mail.host.com"
Mailer.FromName = "Webserver"
Mailer.FromAddress = "webserver@host.com"
Mailer.AddRecipient "Your name", "webmaster@host.com"
Mailer.Subject = "New Mail....!"
strMsgHeader = "Form Information Follows: " & vbCrLf
for i = 1 to Request.Form.Count
strMsgInfo = strMsgInfo & Request.Form.Key(i) & " - " & Request.Form.Item(i) & vbCrLf
next
strMsgFooter = vbCrLf & "End of form information"
Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter
if not Mailer.SendMail then
Response.Write " Mailing Failed... Error is: <br>"
Response.Write Mailer.Response
else
Response.Redirect "http://www.host.com"
end if
%>
.................................................. .................................................. ...........................

The values of RemoteHost, FromAddress, FromName, AddRecipient, Redirect are examples.
My question is how to insert the variable names of my send mail form in Flash to this ASP script, so it can read the values of the variables.

The text fields on the Falsh form are:
name
phone
email
message

I'll appreciate any help.
Thanks

Usig Buttons To: Send Me An E-mail / Send Data From A Feedback Form?
As the title may suggest, i need some way of making an email button, and also feedback form buttons; both submit and reset. i thought this would be fairly standard stuff but didnt get any answers in the general help forum... its all for the last page of my site at www.geocities.com/jamesmbrannan if you would like to take a look

thx for any help/ advice
lev

Flash Based PHP Contact Form Tutorial
Hi

Well here's to the Flash Based PHP Contact Form Tutorial.

I have embedded it on my website using your tutorial. I would like to know whether we can add a status message (Sending Message etc.), while the message is being sent and then the Message Sent Frame. Please do let me know.

Cheers
Deejay T

Mail/Contact Form
I would like to create a contact e-mail form on my site, that has a subject,senders e-mail and content fields and a send button. i was able to find a tut on flashkit but was wondering if anyone knew of other ways to do it or somewhere i might find another.

i'd like to try a couple at once to find which worls best for me. any help would be appreciated.






_______________________________
http://molotovfx.com

Mail Contact Form
Hey,

I added a Mail contact form using PHP to my flash site. My flash site uses external .swfs that all have intro's and outros. When I input into my mail form, it sends to my email, but will not play the next frame that says thank you.

to get it to the next frame I used this:

onClipEvent (data) {
gotoAndPlay.nextFrame();
}

I tried this. and _root but neither work.

Also once someone is on my contact page, they cannot leave it. They become stuck.

The .fla can be seen at www.ryanhohman.com/contact2.zip

Thanks

Flash/php Mail Form Tutorial
I've tried the Flash-Based Email Form Using PHP tutorial. It all works fine right now, but there are two struggles for me:

1. in the PHP-file I had to change $message into $body. (Problem already solved).
2. I cant get the code to work that tells the swf to go the next frame after the mail has been sent.

The code used on the form movieclip is:

Code:
onClipEvent(data) {
_root.nextFrame();
}
I've searched around in the forum and saw others had problem with this tutorial too, but there hasnt been a proper solution offered.

Does anyone has an idea?

Thanks in advance

Flash/php Mail Form Tutorial
I've tried the Flash-Based Email Form Using PHP tutorial. It all works fine right now, but there are two struggles for me:

1. in the PHP-file I had to change $message into $body. (Problem already solved).
2. I cant get the code to work that tells the swf to go the next frame after the mail has been sent.

The code used on the form movieclip is:

Code:
onClipEvent(data) {
_root.nextFrame();
}
I've searched around in the forum and saw others had problem with this tutorial too, but there hasnt been a proper solution offered.

Does anyone has an idea?

Thanks in advance

Multiple Contact Mail Form Help
I was trying to build a mail form with the ability to mail to different contacts. I found this form on Flashkit's movies site:

http://www.flashkit.com/movies/Inter...dex.php?chk=no

What extactly is required to get this to work? I'm afraid I know nothing about asp or using flash with asp. I changed the e-mails in the variables layer so that I could test this mailer. Then, I uploaded the swf and the asp to my ftp and ran the mail form. When I click send, the text box just says "sending correspondance" and never actually sends an e-mail. This must mean that I have to enter some different values based on my web site or something along those lines. Any help would be GREATLY appreciated.

Send IP Address In Contact Form
How would I gather the same information that's possible in an HTML form? For instance, I would like to get the IP of the sender, such as:

<input type="hidden" name="env_report" value="REMOTE_HOST, REMOTE_ADDR, REMOTE_USER, HTTP_USER_AGENT">

I've been getting so much spam from my Flash site, I have to figure this out.

Anyone know how to add this into a PHP script, or via Actionscript?

thanx!!!

Contact Form Send Button
I need to know how to clear the fields of a contact form when the sender clicks send

this is the code I have

Code:

on (release) {
txt.loadVariables("email.php", "POST");
}

How do I make this button clear the fields that the sending put their info into and send the message at the same time? What can I add to this code for this........

Need Assitance Please With A Contact Form: ActionScript + PHP Mail
For the life of me I can't get this little function to work. Any help is much appreciated!

Basically, it sends but without information except for "FROM" in the subject line, and ONLY in FireFox. IE does not do anything nor does it send. The code is below for AS and PHP.


Code:

on (release) {
url_var = "server_option=php"+"&recipient=email@emailhere.com"+"&first_name="+_parent.your_name+_parent.last_name+"&email="+_parent.your_email+"&comments="+_parent.message;
getURL("contact.php"+"?"+url_var, "_blank", "GET");
_parent.first_name = "";
_parent.last_name = "";
_parent.email = "";
_parent.telephone = "";
_parent.comments = "";
}

PHP Code:



<?$subject="from".$_GET['your_name'];$headers= "From:".$_GET['your_email']."
"; $headers.='Content-type: text/html; charset=iso-8859-1';mail($_GET['recipient'], $subject,  "<html><head> <title>Contact letter</title></head><body><br>  ".$_GET['message']."</body></html>" , $headers);echo ("Your message was successfully sent!");?><script>    resizeTo(300, 300)    //window.close()</script>



THANK YOU IN ADVANCE! UGH DRIVING ME NUTS

[F8] Play Animation On Send For Contact Form...
Ok... Here's what I'm doing...

I'm creating a contact form in flash... When the page loads.. there will some animation... small stuff, like butterflies flitting around and what not... when the user presses the "Send" button on the form, I want to send the form to email (which I know how to do) and then play the animation of the contact form going into a mail box, mail box closes, and flag comes up... and then a message pops up saying thank-you.. blah blah.. we will respond to your inquiry asap...

The message can be part of the movie, so that's not an issue...

My question...

There will be a little bit of animation happening when the page loads.. so the contact form is part of a movie... how do I get it where when they click "Send" the final sequence of animation will play with the form going in the mail box.. etc... without affecting the butterflies and such flitting around behind it and making sure the form still gets emailed to me???

Thanks again for your help everyone!!

Contact Form With Combox To Choose Who To Send To
Hello. Iv'e been coming to this site for all my flash needs and have found everything i have needed so far but this one thing.

Im trying to create a contact form that has a dropdown menu with a list of names that can be emailed. So someone can choose who they want to email in one easy action. Im pretty new at flash so im not really sure where to begin. I've read the different tutorials on contact forms and am trying to understand PHP and XML and all... but am still pretty confused. If anyone can help me out in this or point in the right direction where to start I would really appreciate it. Thanks

Great site btw

Contact Form Send Without All Fields Entered
I have a contact form set up with 5 fields and it can only be sent if all 5 fields are filled in. Not all my clients want to enter a phone number or wedding date, so I need to know how to change the action script so that it will still send if only 2 or 3 of the text fields have been entered. I think the following is the action script I need to edit -- I just don't know how;

_submit.onRelease = function(){
if (txt1.text == txt1.startText ||
txt2.text == txt2.startText ||
txt3.text == txt3.startText ||
txt4.text == txt4.startText ||
txt5.text == txt5.startText) {
clearFields();
gotoAndStop(3);
} else {
_this.loadVariables("email.php", "POST");
clearFields();
gotoAndStop(2);
}
}


Thank you for any help you can send.
Susan

Send Contact Form Thru Php Opens New Window =/
ActionScript Code:
stop();submitBtn.onRelease=function(){      onSubmit();}function onSubmit() {    formData = new LoadVars();            formData.Smessage = Smessage.text;     formData.gender = genderGroup.getValue();     formData.send("radio.php",0,"POST");    gotoAndStop(2);}


this is my result
http://lolomedia.com/radio.html

any advice on this?... thank you!

Contact Form Using A Java Based Mail Servlet
I was trying to make a contact form using a PHP file but my server is not PHP mail enabled and uses a java based mail servlet. Is there any way to used that servlet to send via the contact form or is there some other way I need to proceed to put a contact form in a flash ad without usin PHP???

[F8] Contact Us Form Won't Verify Infomation And Send Information
Ok, so I used a tutorial on
http://www.flzone.com/showDetail.asp...form/index.htm

OK, so I used the above tutorial on www.southcoastauto.us
Anyways, when I try to use the contact form, it doesn't check to make sure the fields are filled and it doesn't pass the information over to the .php file.

I think I am having problems with the submit button actionscript


Code:
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {
stop ();
} else {
loadVariablesNum ("form.php", 0, "POST");
gotoAndStop (2);
}
}

At form.php", 0, "POST, I think that the 0 should be something else but I don't know what.

But anyways, if you go to the above website, you can see for yourself that the fields don't verify if one is empty. And since that isn't working, nor is the rest of it where it sends the information to form.php

Could someone clarify if this will work for me?

BTW, as for the levels in the flash. I also have the form under scene 1 > page 4, if that makes any difference.

ALSO, I have discovered that if I click the reset button, then the first part of the actionscript work so that you can not hit submit til all the fields are filled in.

[F8] 'send' Button In Contact Form, AND Text Not Showing Up
<---- that's me right now....


I've bought a flash template like this one, http://www.shotstudio.com

I was able to figure out most of everything, but now I am stuck on 4 things:

how to add more pictures to the galleries rather then just 5
how to get the stupid 'send' button on the contact form to work
how to get the biography text to show up when i click biography from nav bar
and the same issue with the 'about' text.

im not really sure how anything was created cause i bought a template.... i'll try to answer any information possible to help anyone help me... pretty pretty please... sigh

(kum-bi-ya! )

Send Mail Form
Hi everyone, just wonderinf if can help me with this. I've created a mail form in my flash movie that post datas into a .php page. When the send button is clicked a confirmation page is open. What I want to do is to avoid opening this external page and keep the whole thind inside the movie flash, in short the flash itself says if the information have been sent correctly. Anyone know how do it, or knows any tutorial.

Thanx in advance for your help

Mail-form Send
I have done and tried to do many mail form tutorials....but all seemed to have the same problem....when sending a post with line breaks(<br>i think)...it doesn't actually keep the line breaks...it omits them...How can this be fixed?(in flash...or in the send form php file)

Send Mail Form With PHP
I walked through and used the application found here.
http://actionscript.org/forums/showp...0&postcount=70

I only changed the obvious (ie. my email address, domain, etc)

But when i try and send the message I get "Email Failed" in the status text area.
Anyone have any ideas?

I have been trying to get a form to email using php now for a week or so with only some luck. I can get it to send me the email but it is not passing any of the variables, so there is no content.

I am using Flash 8.

Send Mail Form Using Php
I am using the send mail tutorial to make a form on my site. The form is for booking so their are multiple feilds I need to display in the message.

How can I setup the php, so that when I get the email i get something like this in the message:

Name: namevariable
Phone: phonevariable
Date of Event: datevariable

etc...

I dont have very good knownledge of php so how could i do this, if at all possible.

Thanks

Send Form Mail
Hello
i did a form to sned mails that works fine, but one field i want to have smiles.. it works.. the smiles appear on the text field but when the form is sent nothing happends...
check the zip attached so you can understand what i'm talking about.

Thanks

http://www.endbox.com/testes/mailes.zip

anyone can help me?

Mail Form Will Not Send...
I made up a little flash site for school, and now it doesn't want to send the message of the mail form (it uses Php..) If anyone could help I would be very Happy


The adress is http://www.geocities.com/nova_college2003/
->just click on invite to see.

(sorry for the geocities adress, but i didn't have an other webspace availlable!)

The scripts and the php file is from the tutorial about: Flash-Based Email Form Using PHP
http://www.kirupa.com/developer/acti...php_email.htm/

I have altered the movie as less as possible to keep it working.

the send buttons actionscript:

ActionScript Code:
on (release) {    // send variables in form movieclip (the textfields)    // to email PHP page which will send the mail    form.loadVariables("email.php", "POST");}

Send To Mail Form
Hello
i did a form to sned mails that works fine, but one field i want to have smiles.. it works.. the smiles appear on the text field but when the form is sent nothing happends...
check the zip attached so you can understand what i'm talking about.

Thanks

http://www.endbox.com/testes/mailes.zip

anyone can help me?

Mail Form Will Not Send...
I made up a little flash site for school, and now it doesn't want to send the message of the mail form (it uses Php..) If anyone could help I would be very Happy


The adress is http://www.geocities.com/nova_college2003/
->just click on invite to see.

(sorry for the geocities adress, but i didn't have an other webspace availlable!)

The scripts and the php file is from the tutorial about: Flash-Based Email Form Using PHP
http://www.kirupa.com/developer/acti...php_email.htm/

I have altered the movie as less as possible to keep it working.

the send buttons actionscript:

ActionScript Code:
on (release) {    // send variables in form movieclip (the textfields)    // to email PHP page which will send the mail    form.loadVariables("email.php", "POST");}

Send Form To E-mail
Does anyone know of a good script to use that will send form variables in Flash to an e-mail address? I have been building my form using this tutorial http://www.flashkit.com/tutorials/Ac...-583/index.php (Page 7 in particular) and have done everything but set the right script. (And I'm assuming that the end host will not have a mailing script of their own.)

Any help would be appreciated!

Flash 8 Tutorial - How To Create A Flash Contact Form?
Does anyone know how to create a flash contact form in flash 8, using compenents,etc...?

Best regards,

Froez

Send Mail Tutorial - Add A Radio Button
I was successful with creating a form as long as it included only text fields:

senderLoad.theName = contactForm_mc.theName.text;

and the php code below:

$message = "Name: " .$theName;

But, I am adding radio buttons to the form (contactForm_mc) and have not been able to figure out how to change the actionScript and the associated php to go along with it.

I have 2 radio buttons that will ask a user to choose am or pm and have created instance names of the am button as "am" and the pm button as "pm". The radio group is "Time"

so how would the senderLoad code be written and the php code.

Any help would be so appreciated!!!!

Creating A Form To Send Mail In MX
Hi,

wondering if anyone can help me?

I am trying to create a form for users to fill in, and when they press submit, it sends the information to an email address.

I have set up the form within a movie file, within the scene, but since I have done that the submit button, and so the sending of the email doesn't work. The form has to be in a movie because the other movie clips that are playing within the scene don't work otherwise.(the stop action in the form prevents this).

I have attatched a dummy of the form, incase anyone wants to look at it and see if I've done anything stupidly wrong!

If anyone could help that would be fantastic!!

Cheers,

Martyn

Mail Form Send + Go To Next Frame
mail form send + go to next frame
Howdy,

Just a thing with a mail form, maybe very basic for you all in here but just wondered if someone could help, basically its a submit button with action script, the button sends of the php file and thats all grand...

on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
}

thing is i want it to play a certain frame after it and thought it would be something like
on (release) {
gotoAndStop(2);
}

thing is that it only does the next frame script and does not send to the php, if i do not have the gotoandstop(2) and just leave the php part then that works, anyone any ideas as to why the two scripts will not work together or what way should i arrange the script, maybe i have it backwards, just learning flash so go easy on me...

thanks

E-Mail Form, On Send Problem
Hi guys...

I've downloaded a flash email form and am using it for a site Im making. Its fine and works a treat but I want the form to disappear when its sent. I've posted the code below the line that I put in is this.form._visible=false; but it doesnt seem to want to work. Any ideas what Im doing wrong? I also tried putting a gotoAndPlay action in there and nothing! Any ideas?


Code:
function sendEmail(n, c, t, e, m) {
session = "?nocache=" + random(999999);
contact_lv = new LoadVars();
contact_lv.name = n;
contact_lv.company = c;
contact_lv.tel = t;
contact_lv.email = e;
contact_lv.message = m;
contact_lv.key = "email";
trace(n + " - " + c + " - "+ t + " - "+ e + " - " + m);
contact_lv.sendAndLoad(contact_php_file + session, contact_lv, "POST");
contact_lv.onLoad = function(success) {
if(!success) {
return trace("Error calling PHP File!");
} else {
this.form._visible=false;
return trace("Email Sent!");
}
}
}

Send A Text Field With The Mail Form?
I only need to know how i can add to a mail form that i have a > text field < called "order" that have a list of products that the user select in the page.

So when the form sends the user information, sends the text field to...

I need to know if this is posible or not -

sorry for keep posting the same question, but i cant find this anywhere!!

[F8] Send Form Through A 3rd Party Mail Service
Good afternoon all. I am trying to send the contents of a Flash form to iContact, which is a 3rd party email management service. My form works fine when I write my own PHP script, but I can't get it to show up in iContact. There are fixed variables that I have to send onSubmit that tell iContact where to post, but one variable caught my eye. It is:

specialid:26395 = "ACQQ";

Because of the colon after "specialid", I can't send this as a variable in Flash. Has anyone tried to send a Flash form through a 3rd party service and have any insight? Or does anyone know how to get that variable with the colon to post onSubmit?

I was thinking worst case scenario I could pass everything into my own php script, then pass it into iContact from there, since it works in html. But I have never written a pass through script.

Any ideas would be helpful. My onSubmit code is below. Maybe I am missing something? Thanks in advance for your help.


Code:
on (release) {
if (!email.length || email.indexOf("@") == undefined || email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
}
else {
//copying the entered variables into the variable names required by iContact
fields_name = name;
fields_country = country;
fields_postcode = postcode;
fields_email = email;
fields_emailformat = emailformat;
listid = 26390; // below are the fixed variables required by iContact to recognize the account
specialid:26390 = "ACQQ"; //Flash won't let me pass this one
clientid = 202700;
formid = 2300;
reallistid = 1;
doubleopt = 1;
sc_project=3838100;
loadVariables ("http://app.icontact.com/icp/signup.php", this, "POST");
EmailStatus = "Sending... Please wait";
}
}

Using The Send Mail Form From The Tutorials Area
I have downloaded and tryed doing my own version of this, and cant get it work. i have uploaded and you can see this at http://www.debell-network.com/pc-foc...ry/mailer.html

if you want to see the sauce files its http://www.debell-network.com/pc-focus/enquiry

let me know if you want to know any other info.

Regards
Alan DeBell.

Send Form Content To Mail Message
I'll like to create a form in flash that have input txt box + check box
and Button
when pressing the button all data in text box and check box send by email

any idea or source code?
thanks
Nachi

Send Form Content To Mail Message
I'll like to create a form in flash that have input txt box + check box
and Button
when pressing the button all data in text box and check box send by email

any idea or source code?
thanks
Nachi

Php E-Mail Form As Ex Swf Send Button Not Workin
I have constructed a php flash e-mail form using the kirupa tut and code.here

I have put it in my site as an external swf however, when i preview it everything works apart from the send button.

It doesnt go through to the thankyou for you imput section.

I have tried _root and _parent with no luck.

Any ideas

Contact Form Tutorial
hiu, im not sure if his the correct place to put it, but anybody knows a good tutorial or how to create in order to do a contact form, made it fully in flash the send (with tha button send), the information of your client directly to your e-mail, if is necesary to use and php or asp appart the flash file, where to put it, how to create it. (my english isnt perfect but i think that you understandme)

Form Mail Issues/ PHp Data Send Question
I am building a back engineered PHP mailer for a form I am adding to a website I am trying to build. The actionscript goes like this:
on (release) {
if (name_txt.text eq "" or phone_txt.text eq "" or email_txt.text eq "" or academic eq "" or when eq "" or flat_txt.text eq "" or group_txt.text eq "" or question_txt.text eq "") { // I am using instance names for the text fields and referencing the contents by

stop();
} else {
lineAdapt();
mailVars = new LoadVars();
mailResults.onLoad = function() {
if (this.status == "mailSent") {
gotoAndStop("Quick App",2);
} else { stop();


}
};
mailVars.subject = title_txt.text, name_txt.text;
mailVars.message = name_txt.text, phone_txt.text, flat_txt.text, grou_txt.text, question_txt.text;
mailVars.from = email_txt.text;
mailVars.sendAndLoad("http://www.lightmode.com/Irving/mail.php", mailResults, "GET");

}
}
I don't think I have the syntax correct for sending more than one variable to the message area what should I use for mailVars.message =

instead of what I used which was commas, and obviously that didn't work...

Question About The Contact Form Tutorial
Hello,

Sorry for my bad english, but I'm a 15-year old dutch boy.
I got a question about the Contact Form Tutorial. I want to add the function: Clear all forms. But I don't know how to do that.
Can somebody help me?

Freakiej

Send User Input Vai Mail Just Like Using Submit Form In HTML
i need to know that how can i send a user input on a mail address using a Flash form just like we use HTML form to sent the user input on a mail addresss not to a backend database?

Send Form E-mail Response Problem With Event.COMPLETE
Ok. Here is the problem.

I am sending e-mail from a flash form and asp, and the e-mail is sent with no problems, but I can not get the status. "Event.COMPLETE" only works locally.
How can I get a response if the e-mail was sent with no problem?

Thanks

Here is the code:


Code:
function enviarEmail()
{
txtStatus.text = "Mensagem a ser enviada...";

var lv_email:URLVariables = new URLVariables();
lv_email.FromEmail = txtEmail.text;
lv_email.subject = txtSubject.text;
lv_email.mensagem = txtMensagem.text;
lv_email.ToEmail = "mail@fakemail.server";
lv_email.smtpServer = "smtp.fakemail.server";

var objEnvia:URLRequest = new URLRequest();
objEnvia.data = lv_email;
objEnvia.method = URLRequestMethod.POST;
objEnvia.url = "sendEmail.asp";

var objRecebe:URLLoader = new URLLoader();
objRecebe.dataFormat = URLLoaderDataFormat.VARIABLES;
objRecebe.load(objEnvia);
objRecebe.addEventListener(Event.COMPLETE, onLoadRecebe);

//Error handling
objRecebe.addEventListener(IOErrorEvent.IO_ERROR, onIOError)
objRecebe.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError)
//Could be an error or just a message
//objRecebe.addEventListener(HTTPStatusEvent.HTTP_STATUS, onHTTPStatus)
}

How Do I Pull Selected Date From The DateField Component & Send It To PHP Mail Form?
ok.. after searching and finding no luck.. or answers... i'm not too sure i'll get one either, but i figured i ask anyway...

I created a form, that has a DateField component in it, so basically a client can choose their desired deadline date for a project. When they complete the form, and hit send, the goal, is to have all the info they entered passed to PHP which will generate an email an send it along to me. The problem i'm having, is figuring out HOW to pull the date the user selects from the component, and pass it to PHP... any ideas?....


Quick side note:
I'm beginning to think that NO ONE EVER uses this component because after searching all over the web, and every Flash forum i know of... NO ONE seems to know how to do this...(which makes it pretty useless if you ask me) So what do people do to get information like this???



thanks in advance

Mail Form Tutorial Plz
How can I make a mail form with PHP + components v2.
Something like this http://www.macromedia.com/support/fl...reating_forms/

I need to send to a diferent emails adreesses with the same form using combobox v2. Thanks for any help.

_Lobo_

Mail Form Tutorial
I would like to learn how to make a mail form that executes with a cgi script. Sombody who know about a great tutorial on this??

Copyright © 2005-08 www.BigResource.com, All rights reserved