please try this:

<pre>
<?

/*
Tells whether or not to register the EGPCS (Environment, GET, POST, Cookie,
Server) variables as global variables. You may want to turn this off if you
don't want to clutter your scripts' global scope with user data. This makes
the most sense when coupled with track_vars - in which case you can access
all of the EGPCS variables through the $HTTP_ENV_VARS, $HTTP_GET_VARS,
$HTTP_POST_VARS, $HTTP_COOKIE_VARS, and $HTTP_SERVER_VARS arrays in the
global scope.
*/

  var_dump($HTTP_ENV_VARS);
?>
</pre>
<br>
<?
  echo $HTTP_ENV_VARS["SCRIPT_NAME"];
?>
<br>

""Steve Haemelinck"" <[EMAIL PROTECTED]> wrote in message
000401c0b9bb$4aaa1fa0$0200a8c0@shaemeli">news:000401c0b9bb$4aaa1fa0$0200a8c0@shaemeli...
> Anybody got an idea why $PHP_SELF isn't working with me?
>
> I think because I have set my register_globals to off, but how can I get
the
> value of  $PHP_SELF an another way ?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to