?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
-Oorspronkelijk
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
Bernard is right. Take a look at these resources before you go live with
your application:
http://del.icio.us/search/?all=PHP+security
Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
3 matches
Mail list logo