In a message dated 21/01/2001 03:43:19 GMT Standard Time,
[EMAIL PROTECTED] writes:
<< if( eregi( "^([^@]+)@([^@]+)$", $email, $match)) {
$email_user = $match[1];
$email_domain = strtolower( $match[2]);
echo "$email_user at $email_domain";
} else
echo "bad email"; >>
Thank you m. that works perfect!
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]
- [PHP] Getting part of a string Website4S
- Re: [PHP] Getting part of a string Markus Fischer
- [PHP] Getting part of a string Website4S
- [PHP] Getting part of a string ed
- Re: [PHP] Getting part of a string Marek Kilimajer
- Re: [PHP] Getting part of a string debbie_dyer
- Re: [PHP] Getting part of a string Justin French
- RE: [PHP] Getting part of a string Ford, Mike [LSS]
- [PHP] getting part of a string Micah Montoy
- [PHP] Re: getting part of a string ulf sundin
- [PHP] Re: getting part of a st... Micah Montoy

