Re: strings
| From: | Josh G | Date: | Tue, 30 Jan 2001 03:41:47 +0000 |
| Subject: | Re: strings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37232@lists.php.net to get a copy of this message | ||
str_replace()
I think the syntax is
$foo = str_replace($old_foo,"http://www.something.com","");
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
----- Original Message -----
From: <PeterOblivion@aol.com>
To: <php-general@lists.php.net>
Sent: Tuesday, January 30, 2001 2:41 PM
Subject: [PHP] strings
> How can i make http://www.something.com/blah/blah.zip into
>
> blah/blah.zip
>
> http://www.somethingcom is a constant.. always the same thing
>
> how can i cut it out?
>
> thnx
>
> - Peter
>
>
> --
> 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
>