Re: Current web page being displayed
| From: | RaJeSh VeNkAtA | Date: | Sun, 07 Aug 2005 05:14:18 +0000 |
| Subject: | Re: Current web page being displayed | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40037@lists.php.net to get a copy of this message | ||
hai ..
if u r seeing http://www.google.com/blog/myblog.php
then
$_SERVER[SERVER_NAME] would give u www.google.com
and
$_SERVER[PHP_SELF] would give u /blog/myblog.php
for details just print the array $_SERVER and see it ..
On Sat, 6 Aug 2005, Ron Piggott wrote:
What is the correct $_SERVER that tells me what page is currently being displayed? Ron-- ********************************************************************************************* You wouldn't know an OS if it hit you in the face ... Linux Baby ! *********************************************************************************************