NYCPHP Meetup

NYPHP.org

[nycphp-talk] Bizarre PHP putenv/getenv results

Bob Klos bklos at getoffutt.com
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 lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] 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?

--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
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php






More information about the talk mailing list