I posted earlier that this code stops someone from entering an email address with more than one consecutive full-stop, ie fred.blogs@him.com is OK, fred..blogs@him.com would fail
I posted earlier that this code stops someone from entering an email address with more than one consecutive full-stop, ie fred.blogs@him.com is OK, fred..blogs@him.com would fail
that cool..
thank you!
Edit: and does anyone know how to get sender i.p address?
It is possible to get the IP address using this code.
You do need to be careful however, in some countries storing a persons IP address or using it for identification purposes, is illegal.PHP Code:$ip = $_SERVER['HTTP_CLIENT_IP'];
I think Germany is one such country.
This link shows a bit more about this, it shows a function and how to use it.
http://andrewgatenby.com/getting-a-visitors-ip-address
Bookmarks