You are here: Re[2]: [PHP] Environment Variable contamination between vhosts - 1.3.33 « PHP « IT news, forums, messages
Re[2]: [PHP] Environment Variable contamination between vhosts - 1.3.33

Posted by Tom Rogers on 10/04/95 11:23

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@listmail.innovate.net' 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация