Re: [PHP] Linux PHP CLI and Environment variables

2005-01-27 Thread Marek Kilimajer
Michael Gale wrote: Hello, 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.

Re: [PHP] Linux PHP CLI and Environment variables

2005-01-26 Thread Burhan Khalid
Michael Gale wrote: Hello, 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 ? http://pear.php.net/package/Console_Getar

Re: [PHP] Linux PHP CLI and Environment variables

2005-01-26 Thread Josip Dzolonga
On Wed, 2005-01-26 at 22:38 -0700, Michael Gale wrote: > I have searched every where ...is this possible ? Well, take a look here http://www.php.net/manual/en/function.shell-exec.php . So you can exec an echo command and get the result. -- Josip Dzolonga, dzolonga at mt dot net dot mk -- PHP G