Knowledge World
Wednesday, November 25, 2015
Current Web Page Domain in PHP
Example your website domain name is http://www.test.com
This php Code will return you : => www.test.com
You can use : echo
$_SERVER['SERVER_NAME']
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment