Posted by Bosconian on 12/07/06 05:24
"D" <daudaniel@hotmail.com> wrote in message
news:1165467303.130255.286790@j72g2000cwa.googlegroups.com...
> Hi,
>
> I have created a contact form in php for contact information and have
> amde the e-mail a required field (requires you to input at least the
> "@")
>
> It works fine, but every once in a while I get blank e-mails with this
> in the "from" field:
>
> From: <>
>
>
> Anyone have any idea how someone could have sent the form and make it
> appear like that?
>
> Thanks in advance.
>
I'm not sure why the blank "from" field is sneaking through, but a slightly
more robust validation will prevent it. There are plenty of regular
expression patterns around that would do the job nicely.
[Back to original message]
|