Thread
:
PHP code to detect current domain name?
View Single Post
04-13-2006, 08:15 AM
QualityMpegs
Confirmed User
Join Date: Feb 2003
Location: Orlando, Florida
Posts: 3,521
Code:
$domain=$_SERVER["HTTP_HOST"]; $domain=str_replace("www.","", $domain); echo $domain;
__________________
PAYSITES CATEGORIZED AND THUMBNAILED BY NICHE
- 69767780
QualityMpegs
View Public Profile
Find More Posts by QualityMpegs