Re: script question

From: Date: Wed, 27 Sep 2000 06:21:15 +0000
Subject: Re: script question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-17676@lists.php.net to get a copy of this message
list($before,$after) = split("@", $email); ----- Original Message ----- From: "BrianSander" <yoda@ipo.vpaa.asu.edu> To: <php-general@lists.php.net> Sent: Friday, September 22, 2000 5:52 PM Subject: [PHP] script question > Greetings, > > I have a problem which will probably has a very simple solution, I'm > relatively new to programming in general. > > I'm attempting to write a php script which will split an email address > into its name and domain components. > > $email is passed from a webpage > > <?php > > $before_@ = (some regular expression)$email > $after_@ = (some regular expression)$email > > ?> > > > How would this be accomplished? > > Thanks. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#17676) next »