Re: Environment variables

From: Date: Sat, 28 Oct 2000 12:40:52 +0000
Subject: Re: Environment variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22440@lists.php.net to get a copy of this message
Hi Paco! On Fri, 27 Oct 2000, Paco Martinez wrote: > Estimated gurus... > > I have updated php 3.0 to 4.0.3pl. > First lines from all pages .php includes: > <? include $DOCUMENT_ROOT . "xxxx.inc" ?> > > And now I have an error: > > Failed opening '/cabecera.phi' for inclusion (include_path='./') > > Even I do a page with this text: > <? echo $DOCUMENT_ROOT ?> and the result is "". > > How can I solve it?? was it on Windows, and was it php.ini-optimized? wild guess :) do you have `register_globals on'? ain't that great to have it on, but it should work for your pages. -- teodor

« previous php.general (#22440) next »