Consider seperating the checks and tell the user what they did and didn't
do correctly as that way you can put the incorrect fields in bold and red
fonts! Users LOVE that. And little custom messages like "Yo, your email
of $email is incorrect and what kind of first name is $firstname?!" And
may
From: "W.D." <[EMAIL PROTECTED]>
> Actually I tried a variation of what you gave me before and it didnt work.
I
> couldnt get yours to validate thanks. heres what I used
> if (getenv("REQUEST_METHOD") == "POST")
> {
> if (
> eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z
Actually I tried a variation of what you gave me before and it didnt work. I
couldnt get yours to validate thanks. heres what I used
This is directly after the form using the registered vars $Email,
$FirstName, $LastName. So I dunno whats wrong..
> From: "W.D." <[EMAIL PROTECTED]>
>
> > I do
From: "W.D." <[EMAIL PROTECTED]>
> I dont know how to do this, but Ive tried several things with no success.
I
> need to validate several form fields and here is the script I'm working
> with...
>
> {
> (eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$", $Email))?
> header("Location: http://ww
4 matches
Mail list logo