View Full Version : register_globals in php.ini
Hi, Im trying to add a modification to osCommerce. It turns out that quite a few of these mods require the register_globals to be turned on for them to work. I guess in previous versions it was on by default. Can you possibly turn this on in php.ini?
Thanks,
Scott
harmonic
11-11-2002, 01:14 PM
Odd, it's on for me.
i just made a script "<?=$a;?>" and called it by file.php?a=b and it printed "b"
Hmm...ok its probably just something im doing wrong or something wrong in the mod im trying to apply then. I don't know enough about php to know for sure though. I read that the register_globals thing could have something to do with my problem. At least I know to start looking for other things that could be causing it. Thanks alot for looking into that for me!
harmonic
11-11-2002, 01:44 PM
Well, I wouldn't neccissarily discount it right away. We might be on different servers, it being on for mine and maybe off for yours.
I guess we'll see when someone comes that can help you better.
Steven
11-11-2002, 03:08 PM
Both of you are on different servers, but just so you know all of our servers have the register_globals turned on in the php.ini file.
-Steven
harmonic
11-11-2002, 06:57 PM
Originally posted by Steven
Both of you are on different servers, but just so you know all of our servers have the register_globals turned on in the php.ini file.
-Steven
Thats what I figured but better safe than sorry :)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.