Is thr any code to display domain/url on a page from which it is accessed?
display domain code?
Collapse
X
-
PHP Code:<?php $hostname = $_SERVER['SERVER_NAME']; $hostname = str_replace('www.', '', $hostname); echo "The domain: <B>".$hostname."</B> is Under Construction"; ?>
domain.com
If www,domain.com it will be domain.comVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
Comment