Re: [PHP] Mail-format...

2005-09-19 Thread David Tulloh
It looks like somebody is trying to launch an e-mail injection attack.  
Looking at your code, I don't think you are vulnerable.


You can read more about e-mail injection at 
http://securephp.damonkohler.com/index.php/Email_Injection
You could also send nasty e-mails to [EMAIL PROTECTED], telling them 
to stop trying to hack your website.



David


Gustav Wiberg wrote:


Hi there!

I wonder why I get get these kind of mails (look down below in this 
mail) I recieve them sometimes...

...I have a code like this...

$name = $_POST[frmNamn];
$email = $_POST[frmEpost];

//Send mail that there is a new member
//
mail([EMAIL PROTECTED],Ny medlem - Stammis Internet,Namn: $name, 
Epost:$email);




/G
http://www.varupiraten.se/


Namn: [EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary=\===0158601545==\
MIME-Version: 1.0
Subject: c1805938
To: [EMAIL PROTECTED]
bcc: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]

This is a multi-part message in MIME format.

--===0158601545==
Content-Type: text/plain; charset=\us-ascii\
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

aienglpcm
--===0158601545==--
, Epost:[EMAIL PROTECTED]




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Mail-format...

2005-09-19 Thread Gustav Wiberg


- Original Message - 
From: David Tulloh [EMAIL PROTECTED]

To: Gustav Wiberg [EMAIL PROTECTED]
Cc: PHP General php-general@lists.php.net
Sent: Monday, September 19, 2005 8:19 AM
Subject: Re: [PHP] Mail-format...


It looks like somebody is trying to launch an e-mail injection attack. 
Looking at your code, I don't think you are vulnerable.


You can read more about e-mail injection at 
http://securephp.damonkohler.com/index.php/Email_Injection
You could also send nasty e-mails to [EMAIL PROTECTED], telling them to 
stop trying to hack your website.



David


Gustav Wiberg wrote:


Hi there!

I wonder why I get get these kind of mails (look down below in this mail) 
I recieve them sometimes...

...I have a code like this...

$name = $_POST[frmNamn];
$email = $_POST[frmEpost];

//Send mail that there is a new member
//
mail([EMAIL PROTECTED],Ny medlem - Stammis Internet,Namn: $name, 
Epost:$email);




/G
http://www.varupiraten.se/


Namn: [EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary=\===0158601545==\
MIME-Version: 1.0
Subject: c1805938
To: [EMAIL PROTECTED]
bcc: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]

This is a multi-part message in MIME format.

--===0158601545==
Content-Type: text/plain; charset=\us-ascii\
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

aienglpcm
--===0158601545==--
, Epost:[EMAIL PROTECTED]






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.1/104 - Release Date: 2005-09-16



Ok, thanx!

/G
http://www.varupiraten.se/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Mail-format...

2005-09-18 Thread Gustav Wiberg

Hi there!

I wonder why I get get these kind of mails (look down below in this mail) I 
recieve them sometimes...

...I have a code like this...

$name = $_POST[frmNamn];
$email = $_POST[frmEpost];

//Send mail that there is a new member
//
mail([EMAIL PROTECTED],Ny medlem - Stammis Internet,Namn: $name, 
Epost:$email);




/G
http://www.varupiraten.se/


Namn: [EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary=\===0158601545==\
MIME-Version: 1.0
Subject: c1805938
To: [EMAIL PROTECTED]
bcc: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]

This is a multi-part message in MIME format.

--===0158601545==
Content-Type: text/plain; charset=\us-ascii\
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

aienglpcm
--===0158601545==--
, Epost:[EMAIL PROTECTED]


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 2005-09-15 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] mail () format

2003-01-27 Thread Bruce Levick
I have a number of field entries that I am trying to send through to the
body of an email.

How can I format the mail() command to send these multiple fields. 

EG $name, $address, $comments. All to go into the body of an email.

Cheers
  

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php