note 4982 deleted from Variables from outside PHP by ronabop

From: Date: Fri, 25 Aug 2000 08:30:41 +0000
Subject: note 4982 deleted from Variables from outside PHP by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3140@lists.php.net to get a copy of this message
How may I access enviromental variables from INSIDE a function ? I'm trying to access: $message=getenv("QUERY_STRING"); from inside a function that sends an error-email to the admin. But the variable is empty. I guess it's out of scope. How should I access it ?

« previous php.notes (#3140) next »