> -----Original Message-----
> From: Joshua Slive [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 09, 2005 8:14 AM
> To: [email protected]
> Subject: Re: [EMAIL PROTECTED] Environment Variable contamination between
> vhosts - 1.3.33
>
> On 8/8/05, Marc Powell <[EMAIL PROTECTED]> wrote:
> > Well... no luck there. PHP's Rasmus Lerdorf said in direct response
to
> > my inquiry --
> >
> > "These variables are set by Apache and PHP repopulates them on each
> > request, so I don't really see how PHP could be causing this.
> >
> > -Rasmus"
> >
> > I feel like the middleman in a he-said-she-said fight ;) Judging by
a
> > Google search for his name, he should certainly be in the know.
> >
> > Any other suggestions?
>
> Did you tell him that the variables are correct in CGI scripts but not
> in php pages? That seems pretty conclusive to me.
Yes, and provided the exact script used --
"Using --
#!/usr/bin/perl
##
## printenv -- demo CGI program which just prints its environment
##
print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "${var}=\"${val}\"\n";
}
I do not see the issue. This is why the apache guys thought it was a php
issue."
--
Marc
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]