I have the following code that works with register_globals = on
echo("<a href=\"$PHP_SELF?query=$query&page=$back_page&limit=$limit\">back</a>\n");
echo("<a href=\"$PHP_SELF?query=$query&page=$ppage&limit=$limit\">$i</a>\n");
echo("<a href=\"$PHP_SELF?query=$query&page=$next_page&limit=$limit\">next</a>\n");
It will not work once I set register_globals = off
Any suggestions ? Is it to do with $PHP_SELF ?