Thread: PHP guys?
View Single Post
Old 03-04-2006, 04:43 PM  
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
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
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote