Hi,

I have a form which users enter their email address, once submitted I need a 
way to chop it up and put it in lowercase. So that if a user submits 
[EMAIL PROTECTED] I want PHP to throw out Website4S and then make the rest 
lowercase so I would get @aol.com

I know how to get the string to lowercase by using

$Email1=strtolower($Email);

My problem is how to get $Email and chop off anything up to the @ and because 
people may enter different email providors I have no idea how to get around 
it. Anyone have a suggestion I would really appreciate it.

Ade

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to