php $HTTP_GET_VARS

Red Squirrel

No Lifer
May 24, 2003
70,560
13,801
126
www.anyf.ca
one of my forums runs on a very old version of IPB and I noticed the forum ceased to work in my dev environment but still works on the web host. It seems to have to do with $HTTP_GET_VARS and possibly some tweaking I did broke it. I've never used $HTTP_GET_VARS before but it seems to do the exact same thing as $GET. is that the case?

I replaced it with GET in the offending script and everything seems to work.

Would I be safe to run a mass replace and replace it in all the scripts? Or does it do anything differently?

What about $HTTP_POST_VARS? Same thing?
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
$HTTP_GET_VARS and $_GET give you the same but $HTTP_GET_VARS is deprecated so don't use it. Same with post.