Ok, I'have to rewrite my app using register_globals = off
I've just done some research and testing, but are some confused
how do you write eg.
$getFrontPage = $db->get_var("SELECT pid FROM pages WHERE pagepri = 1");
using RG = off ?
regards Thomas
you have to rewrite your code so that you use the superglobals $GET, $POST, ... everyhwre you expect user input
i don't see a variable coming from the user in your code 😕
ok, so I've only have do rewrite variables outside my script. eg. variables that I declare does not need rewriting
like:
$a = 2; $b = 5; $c = $a + $b;
?
Thomas
yes