Domain Name ?
| From: | Dave Carrera | Date: | Thu, 01 Apr 2004 09:29:41 +0000 |
| Subject: | Domain Name ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182002@lists.php.net to get a copy of this message | ||
Hi List,
I asked this a while back but have lost the replies :-(
$domain = "http://www.foo.com";
I want to strip our every thing and be left with only "foo" to use in my
function.
I think its multiple str_replace but have forgotten how to do it.
Thank you in advance for any help
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.645 / Virus Database: 413 - Release Date: 28/03/2004