Hello People, I don't know what to do to solve this problem
I had an old Apache + PHP running in an old Win 98 machine with no
problems at all (6 years !...), but that machine crashed forever...
Then I got a new Win XP machine with zillion megs and so, and
installed Apache 2.0.63 and PHP 5.2.10 into.
All installs were Ok, I noticed PHP modified apache .CONF file to tell
it was installed.
I also copied PHP.INI to windows directory and erased PHP.INI from php
directory.
All appears to run ok, I checked phpinfo() function and it shows to me
lot of PHP variables and settings on server
But now the problems
a) when trying to echo (for instance) $PHP_SELF variable, script just
echoes nothing (just blank)
b) when trying to echo any other system variable, script echoes
nothing
c) when trhing to echo external variables ( test.php?myvar=gogzilla ),
script echoes nothing
but scripts echo string variables ok
lets try script.php?myvar=godzilla
echo "bozo";
$x="baby";
echo $PHP_SELF;
echo $myvar;
echo "puffy";
echo $x;
result is
bozo
puffy
baby
Does anybody have idea about this problem?
thanks in advance
Mig
hi! - I set register_globals to On and solved this problem
but I wonder how PHP team decided to change default value for so
important variable after version 4 of PHP (they set Off for security
reasons)
What would be happen with zillions scripts around the world, case
hosting managers just decide install new PHP releases with
register_globals=Off ?
I guess all these scripts immediatle would stop woking ..
I am afraid of these changes when new releases are deployed