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
> 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
This issue has probably been discussed more than I've been able to find
in the archive, so I'm sorry if I'm going over old ground.
I'm trying to make sure my email form cannot be used for spam or
injecting additional code and addresses in any way.
So far I'm able to remove bcc, cc, to, etc but
This issue has probably been discussed more than I've been able to find
in the archive, so I'm sorry if I'm going over old ground.
I'm trying to make sure my email form cannot be used for spam or
injecting additional code and addresses in any way.
So far I'm able to remove bcc, cc, to, etc but
4 matches
Mail list logo