[nycphp-talk] Bizarre PHP putenv/getenv results

Bob Klos bklos at
Mon Aug 13 09:19:42 EDT 2007

Absolutely it would.
Had the program been written after '95 it might have been done that way :) 

-----Original Message-----
From: talk-bounces at [mailto:talk-bounces at] On
Behalf Of Daniel Convissor
Sent: Friday, August 10, 2007 8:13 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Bizarre PHP putenv/getenv results

On Thu, Aug 09, 2007 at 05:16:59PM -0400, Bob Klos wrote:
> The system is Unixware 7.1.1 apache 1.3.34/php 4.4.2 which uses a lot 
> of binary cgi in the web app. In order to pass information to the cgi 
> apps they are placed in the environment via putenv then calls the cgi app.

Wouldn't it be simpler and more reliable to pipe the information between the
programs via STDOUT and STDIN or pass the arguments on the command line?


 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
New York PHP Community Talk Mailing List

NYPHPCon 2006 Presentations Online

Show Your Participation in New York PHP

More information about the talk mailing list