Re: issue with script after php upgrade

From: Date: Sun, 07 Jul 2002 02:28:10 +0000
Subject: Re: issue with script after php upgrade
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-105906@lists.php.net to get a copy of this message
Привет! Jamie Novak wrote:
http://myserver/index.php?dir2=somedirectory In 4.1.2, if I echo $dir2 at the beginning of the script just for testing, it will echo the value of the variable without issue. In 4.2.1, the variable never appears to get set at all, although it does show up just the same in $QUERY_STRING under both versions of PHP, so I know something is at least being passed back to the server. Does this make sense how I explained it? Can anybody tell me what's changed between versions that would make the script (or, really, PHP) ignore the value I'm passing back? (I looked at the changelog, but didn't really see anything that I understood to be related to the problem I'm experiencing.) TIA, Jamie
You did look for a leaf and missed the tree :)) Look for Register_globals in your php.ini file. It's *off* in the new versions and it should be so for security reasons. Just check the docs in the online manual and everything will be clear :)) пока Альберто Киев -- @-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@ LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe TeSt, YeS iT iS ThE tEsT, yEs It Is tHe TeSt, YeS iT iS ThE tEsT, yEs It Is.......

« previous php.general (#105906) next »