The server I am on uses a CGI script to get a count for home pages. With 
server side includes it is executed using the Apache "exec" SSO directive 
and works well.

The problem with PHP is that the CGI script when executed by Apache sets 
a lot of environmental variables that apparently aren't set by the PHP 
script when using system() to run the CGI script.

I wondered if there are any commands in PHP4 that will cause PHP/Apache 
to set the environmental variables the same way as it would when Apache 
executes a CGI script directly.

-- 
=======================================================================
Patrick Dunford, Christchurch, NZ

   He makes me lie down in green pastures, he leads me beside quiet
waters, he restores my soul. He guides me in paths of righteousness
for his name's sake.
    -- Psalm 23:2-3
       http://www.StudyLight.org/desk/?query=Psalm+23:2-3

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to