|
Author
|
Topic: Accessing enviroment variables inside functions
|
Andrew Junior Member
|
posted July 16, 1999 08:45 PM
Hey all:I am trying to access the enviroment variables (mainly the $REMOTE_USER one) inside a function, but it doesnt seem to be able to access it. I was wondering how I might access it in the function? Any help appreciated!
------------------ Regards, Andrew IIS Manager Uniworx - The Student Website http://www.uniworx.com.au |
jpenix Member
|
posted July 18, 1999 11:28 PM
Not sure, but maybe a:global $REMOTE_USER; inside your function will do the trick. That'd work for any other variable defined outside of the function's scope, but I'm not sure if it applies to server variables (likely so for consistency's sake). --Josh |