Php Get Domain Name Only From Tld
php get domain name only from tld
php, get, domain, name, only, from, tld
Php Get Domain Name Only From Tld
Post Description: php get domain name only from tld
POST# 487
Posted On: Fri Feb 29, 2008 12:01 pm
web hosting
Topic: Php Get Domain Name Only From Tld
im looking for a php script or class in php so that i can split my domain name.

for example, i have this:

$string = www.wallpaperama.com

and i only want

$string = wallpaperama

but i want the script to take into considration other tld like

$string = mail.www.wallpaperama.co.uk

how can i do this?


No Repies
(0) Comments for Php Get Domain Name Only From Tld

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload