Home » Archive

Articles tagged with: server

PHP, Tips and Tricks »

[29 Jun 2009 | No Comment | 39 views]

Let the page path be: http://localhost/test/admin/index.php
Get the server name/site name of your website:
echo $_SERVER['SERVER_NAME'];