Re: Mixed PHP/SSI and environment variables

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

 



Am Freitag, 28. Oktober 2005 13:22 schrieb Jochem Maas:
> > info.php
> > -------------------------------------------------
> > <?php
> >   virtual( "setvar.shtml" );
>
> have yuou tried include/require here instead of virtual()
>
> I imagine that the env of the subprocess wouldn't affect
> the env of the parent process - i.e. to me it makes sense
> if you say the env var in the subprocess is not available in
> the parent process.
>
> >   echo apache_getenv( "myvar" );
> > ?>
> > -------------------------------------------------

Nope, both include and require result that the content of setvar.shtml 
shows up literally in the output without the SSI having been processed 
by Apache.

-- 
Christoph Freundl    http://www10.informatik.uni-erlangen.de/~chfreund/
Lehrstuhl für Systemsimulation (Inf. 10), Cauerstr. 6, D-91058 Erlangen
  Quiet people aren't the only ones who don't say much. - R. Baalke

-- 
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