Re[2]: Environment Variable contamination between vhosts - 1.3.33

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Tuesday, August 9, 2005, 3:04:41 AM, you wrote:

MP> Using --

MP> #!/usr/bin/perl
MP> ##
MP> ##  printenv -- demo CGI program which just prints its environment
MP> ##

MP> print "Content-type: text/plain\n\n";
MP> foreach $var (sort(keys(%ENV))) {
MP>     $val = $ENV{$var};
MP>     $val =~ s|\n|\\n|g;
MP>     $val =~ s|"|\\"|g;
MP>     print "${var}=\"${val}\"\n";
MP> }

MP> I do not see the issue. This is why the apache guys thought it was a php
MP> issue.

MP> --
MP> Marc

MP> p.s. I changed the reply-to to keep it on-list. I don't know where
MP> 'replies-lists-php@xxxxxxxxxxxxxxxxxxxxx' goes.

MP> --
MP> PHP General Mailing List (http://www.php.net/)
MP> To unsubscribe, visit: http://www.php.net/unsub.php


Do you get the same problem if you run php as a cgi?
It maybe something related to apache child processes retaining the
previous env ??
I gave up using pconnect because of something similar with it
remembering a previous unrelated db access.

-- 
regards,
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux