Re: [PHP] Secure Mail Form using PHP

2006-02-16 Thread Richard Lynch
On Thu, February 16, 2006 7:23 am, Martin E. Koss wrote: > So far I'm able to remove bcc, cc, to, etc but unable to remove \n & > \r. I dunno why you are having trouble losing \r and \n, since it's not tricky... But forget all that, and consider this: $Email = $_POST['Email']; $Email = str_repla

Re: [PHP] Secure Mail Form using PHP

2006-02-16 Thread Greg Schnippel
> I'm trying to make sure my email form cannot be used for spam or > injecting additional code and addresses in any way. > >// CHECK FOR SPAM ATTEMPTS AND REMOVE THEM > > I had a similar problem with my contact form and went down a similar path of trying to clean up the user-input with re