Eregi question
| From: | Dave Carrera | Date: | Thu, 11 Mar 2004 14:50:59 +0000 |
| Subject: | Eregi question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180157@lists.php.net to get a copy of this message | ||
Hi List,
I Know this is basic and I am sorry to bother the list with this question
but I am confused, probably working to hard :-)
I want to end up with a part of a string returned by $_POST to work with in
my function.
The string might be put into the text box like so, it’s a domain name
checker,
http://www.domainname.com
I have already got rid of the http:// and www bits but I need to know how to
get rid of the .com bit before proceeding with my check. So I will only be
left with "domainname" for my function.
I have looked at eregi, split, spliti but to no joy so any help would be
gratefully received.
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.619 / Virus Database: 398 - Release Date: 10/03/2004