Thread: PHP guys?
View Single Post
Old 03-04-2006, 06:37 PM  
CyberHustler
Masterbaiter
 
CyberHustler's Avatar
 
Industry Role:
Join Date: Feb 2006
Posts: 27,929
Quote:
Originally Posted by mortenb
prolly just register globals.. older versions of PHP had register globals on as standard.. newer versions don't.

which means:
when the script is trying the get the "mode" variable it is probably just calling $mode, when it should be calling $_GET["mode"] - which in turn means that it gets an empty $mode variable and just defaults to the main page

WOA.. I NEED SOME PHP CLASSES AND SHIT
__________________
“If you can convince the lowest white man he’s better than the best colored man, he won’t notice you’re picking his pocket. Hell, give him somebody to look down on, and he’ll empty his pockets for you.”
CyberHustler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote