Log in

View Full Version : VB's global is breaking GET vars in non-VB page


jfreyholtz
12-11-2003, 08:16 PM
I've added global.php to a non-VB page to get some $bbuserinfo info (which is working) out of the forum and it's breaking GET variables on all my pages.

It doesn't matter what they are either.. be it ?id=x or ?blah=x, they aren't being recognized anymore.

Anyone have an idea what might be the problem?

I'm adding this to the top of my site's global include file:

chdir("/home/virtual/etc/html/forums");
require("./global.php");

..then grabbing some $bbuserinfo vars and that's it. Oh, and I'm using VB3

Zachery
12-11-2003, 09:00 PM
no vb3 talkies here

try at vbulletin.nl ;D

also its because vb3 functions with registerd globals off

Freddie Bingham
12-11-2003, 10:47 PM
You need to access them via $_REQUEST['varname'] instead of $varname

Dean C
12-12-2003, 05:37 PM
Sorry but vb3 hacking discussion is not currently allowed. Please refer to the announcement :)