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
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
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
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().
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
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
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
7 matches
Mail list logo