Thanks Bernard!  I'll give it a try.

On 7/12/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:
<?php

mail("my mail","You tried to send " . $_GET["foo"], "Message");

?>

You have to use $_GET or $_POST to get your variable.

I wouldn't use the mail script like this, you'll have to do some checking on
which data is passed.
mail() has a posibillity of header-injection.

Bernard

--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to