environment variables
| From: | Vincent Callut | Date: | Sat, 19 Aug 2000 15:34:17 +0000 |
| Subject: | environment variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12591@lists.php.net to get a copy of this message | ||
Hello,
I am using environment variables in a PHP script.
Here is the code of my PHP page :
(...)
putenv("LOGIN=azerty");
echo getenv("LOGIN");
(...)
The content of the environment variable appears on the screen. Fine ! But,
if I try to display the content of LOGIN in another page, it does not work.
I'm using Apache as HTTP server. Is it a problem of configuring Apache ?
Please help me.
Vincent Callut.