[PHP] Passing POST args to PHP when run as a CGI (was Re: [PHP] $_ENV not working for me with PHP 4.2.0)

2003-10-06 Thread John Wilcox
--- Curt Zirzow <[EMAIL PROTECTED]> wrote: > Technically it is 4.1.0 (where did you see the > 4.2.0?) but anything > prior to that you should use $HTTP_ENV_VARS my mistake, you're right, it was 4.1.0. > http://php.net/manual/en/language.variables.predefined.php > http://php.net/manual/en/reserve

Re: [PHP] $_ENV not working for me with PHP 4.2.0

2003-10-06 Thread Burhan Khalid
John Wilcox wrote: I've been trying to make a simple script which just outputs the username that the script is currently executing under (in order to test that suexec is working properly). I've tried using the following line: and it fails to produce any output and returns the following error in

Re: [PHP] $_ENV not working for me with PHP 4.2.0

2003-10-05 Thread John Wilcox
Hi Tom, when I put "echo `printenv`;" into a script, I see in big bold letters: USER=john so this environment variable seems to be available.. getenv('USER'); works fine, so I guess I'll just use that instead.. No idea why $_ENV['USER']; doesn't work though. Thanks for the suggestion, John ---

Re: [PHP] $_ENV not working for me with PHP 4.2.0

2003-10-05 Thread Curt Zirzow
* Thus wrote John Wilcox ([EMAIL PROTECTED]): > I've been trying to make a simple script which just > outputs the username that the script is currently > executing under (in order to test that suexec is > working properly). I've tried using the following > line: > > This var isn't the USER that

Re: [PHP] $_ENV not working for me with PHP 4.2.0

2003-10-05 Thread Tom Rogers
Hi, Monday, October 6, 2003, 4:43:20 AM, you wrote: JW> I've been trying to make a simple script which just JW> outputs the username that the script is currently JW> executing under (in order to test that suexec is JW> working properly). I've tried using the following JW> line: JW> JW> and it

[PHP] $_ENV not working for me with PHP 4.2.0

2003-10-05 Thread John Wilcox
I've been trying to make a simple script which just outputs the username that the script is currently executing under (in order to test that suexec is working properly). I've tried using the following line: and it fails to produce any output and returns the following error in my log file: "[Sun