NYCPHP Meetup

[nycphp-talk] Bizarre PHP putenv/getenv results

Daniel Convissor danielc at analysisandsolutions.com
Fri Aug 10 20:13:25 EDT 2007


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?

--Dan

-- 
 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
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list