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().
$comment=strip_tags($_POST['ucomment']);
And look up sql injection.
Gabino
----- Original Message ----- From: "Lehr, Theodore M (N-SGIS)"
<[EMAIL PROTECTED]>
To: "Flash Coders List" <[email protected]>
Sent: Monday, April 14, 2008 9:29 AM
Subject: [Flashcoders] sending email as/php
Sorry for posting such a basic but I did google first... I am trying:
As:
loadVariablesNum ("mail.php", 0, "POST");
php:
<?php
$comment=$_GET['ucomment'];
$name=$_GET['uname'];
$email=$_GET['uemail'];
mail("[EMAIL PROTECTED]", "subject", "Name: ".$name."\nEmail:
".$email."\n\nComment: ".$comment);
?>
I am not getting the variable values...
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders