You can try
foreach ($_SERVER as $key => $value)
   echo "$key => $value";

or you can check out them out in when calling phpinfo ();

RaJeSh VeNkAtA wrote:

hai ..
    if u r seeing

    $_SERVER[SERVER_NAME] would give u
    $_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

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to