Re: Linux PHP CLI and Environment variables
| From: | Marek Kilimajer | Date: | Thu, 27 Jan 2005 11:54:24 +0000 |
| Subject: | Re: Linux PHP CLI and Environment variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207464@lists.php.net to get a copy of this message | ||
Michael Gale wrote:
Hello,<http://sk.php.net/manual/en/language.variables.predefined.php#reserved.variables.environment> #!/usr/local/bin/php <?php print_r($_ENV); ?>I am running php 4.3.7 with ncurses support. I want to create a small app using php and ncurses but I will need to get some information from the shell environment variables.I have searched every where ...is this possible ? Michael.