Re: [PHP] A way to block SMTP injections

2006-02-16 Thread Brian Dunning
Sorry, assume $email_address is already set - it's me, '[EMAIL PROTECTED]'. My typo on the '\r\n' should be "\r\n". I created a simple mail form and am blocking SMTP injections like this. Seems like it ought to be 100% foolproof, AFAIK you can't complete and SMTP injection with a Content-Typ

Re: [PHP] A way to block SMTP injections

2006-02-16 Thread Curt Zirzow
On Thu, Feb 16, 2006 at 11:05:13AM -0800, Brian Dunning wrote: > I created a simple mail form and am blocking SMTP injections like > this. Seems like it ought to be 100% foolproof, AFAIK you can't > complete and SMTP injection with a Content-Type header in there. Any > opinions? > > $body =

Re: [PHP] A way to block SMTP injections

2006-02-16 Thread Richard Lynch
On Thu, February 16, 2006 1:05 pm, Brian Dunning wrote: > I created a simple mail form and am blocking SMTP injections like > this. Seems like it ought to be 100% foolproof, AFAIK you can't > complete and SMTP injection with a Content-Type header in there. Any > opinions? > > $body = 'Name: '.$