Home » Archive

Articles tagged with: server

PHP »

[29 Jun 2009 | No Comment | 563 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'];