script question
| From: | BrianSander | Date: | Fri, 22 Sep 2000 21:52:09 +0000 |
| Subject: | script question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17317@lists.php.net to get a copy of this message | ||
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.