RE: [Flashcoders] sending email as/php

2008-04-14 Thread Pete Hotchkiss
your using POST to send the data - and then trying to retrieve with GET -Original Message- From: [EMAIL PROTECTED] on behalf of Lehr, Theodore M (N-SGIS) Sent: Mon 14/04/2008 16:29 To: Flash Coders List Subject: [Flashcoders] sending email as/php Sorry for posting such a basic but I

Re: [Flashcoders] sending email as/php

2008-04-14 Thread Gabino Travassos
hi Theodore Use $_POST if you're sending POST. Use $_GET when you're pulling variables out of the url, like index.php?id=980; I'd also recommend strip_tags(). $comment=strip_tags($_POST['ucomment']); And look up sql injection. Gabino - Original Message - From: Lehr, Theodore M

RE: [Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Thanks for the response - but I am getting the same results -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabino Travassos Sent: Monday, April 14, 2008 12:00 PM To: Flash Coders List Subject: Re: [Flashcoders] sending email as/php hi Theodore Use

Re: [Flashcoders] sending email as/php

2008-04-14 Thread Glen Pike
You might also want to look up email injection too: http://en.wikipedia.org/wiki/Email_injection Gabino Travassos wrote: hi Theodore Use $_POST if you're sending POST. Use $_GET when you're pulling variables out of the url, like index.php?id=980; I'd also recommend strip_tags().

RE: [Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Coders List Subject: RE: [Flashcoders] sending email as/php your using POST to send the data - and then trying to retrieve with GET -Original Message- From: [EMAIL PROTECTED] on behalf of Lehr, Theodore M (N-SGIS) Sent: Mon 14/04/2008 16:29 To: Flash Coders List Subject: [Flashcoders

Re: [Flashcoders] sending email as/php

2008-04-14 Thread Glen Pike
Hi, First try to load mail.php in the browser - if there are any errors in your code you will find out quickly... If there are no errors and it's still not working, try doing a basic HTML form to post to the page to test that part and then echo the variables back after the call to

Re: [Flashcoders] sending email as/php

2008-04-14 Thread Yaakov Relkin
In AS3, If you want to send an email, all you have to do is this: function sendData():void { ??? var variables:URLVariables = new URLVariables(); ??? variables.name = name_txt.text; ??? variables.email = email_txt.text; ??? variables.message = message_txt.text; ??? var _request:URLRequest = new