Hi Scott,

Good question! $PHP_SELF is a global variable, so you need to declare it in
functions:

function a()
{ 
global $PHP_SELF;

print $PHP_SELF;
}

John

"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message 
98tjgv$40e$[EMAIL PROTECTED]">news:98tjgv$40e$[EMAIL PROTECTED]...
> Hi!
> 
>     I noticed when using $PHP_SELF in the script, you can use only the
> variables.  So, I tried it with the arrays or functions and found that it
> does not work.  So, is $PHP_SELF limited to variables only?
> 
> Scott
> 
> 
> 
> -- 
> 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