Jump to content

Email validation....


Neptunus Maris

Recommended Posts

I've already searched through other topics concerning this but i just don't get any of them.

 

This is an example from a book (PHP Game Programming by: Matt Rutledge, chapt. 4 pg. 68-69).

Here he uses ^.+@.+\..+$ (pg.68)

...but then when he uses it in an example its just like this:

if (ereg("^.+@.+\..+", $_POST)) {

   //bla bla

}

 

What happened to the dollor sign($) at the end?  and is this right?

 

 

Neptune.

Link to comment
https://forums.phpfreaks.com/topic/38672-email-validation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.