Re: split string value again
| From: | Jacky@lilst | Date: | Thu, 29 Mar 2001 23:17:39 +0000 |
| Subject: | Re: split string value again | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46064@lists.php.net to get a copy of this message | ||
thank you everone, sorry about the rush though. I was kind of in urgent
need. Anyway, thanks again.:-)
Jack
jacky@activelifestyle.com
"There is nothing more rewarding than reaching the goal you set for
yourself"
----- Original Message -----
From: Stewart Taylor <Stewart.Taylor@uk.thalesgroup.com>
To: 'Jacky' <jacky@activelifestyle.com>; <php-general@lists.php.net>
Sent: Thursday, March 29, 2001 3:51 AM
Subject: RE: [PHP] split string value again
> $addr = "mailto:test@foo.com;
>
> $splitaddr = explode("@",$addr);
>
> resulting in $splitaddr[0] = "test";
> $splitaddr[1] = "foo.com";
>
>
> -Stewart
>
> -----Original Message-----
> From: Jacky [mailto:jacky@activelifestyle.com]
> Sent: 29 March 2001 23:52
> To: php-general@lists.php.net
> Subject: [PHP] split string value again
>
>
> Hi again
> have to try again after I have not recieved any advice, I have a vairable
> that stores email address value. I need to break it so that I will only
get
> the dmain name bit to store in another variable so that I can redirect
user
> to that domain, like if user email is test@foo.com. then I would like to
> break that and take only foo.com bit to use for navigation.
> How can I do that?
> Jack
> jacky@activelifestyle.com
> "There is nothing more rewarding than reaching the goal you set for
> yourself"
>
> --
> 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
>
>