Hi,
I'm a newbie to PHP so pls excuse my ignorance 🙂
I've got a simple code to include pages:
<? if ($page=='') { $page="$main"; } else { $page="$page"; } include("$path$page.php"); ?>
How to rewrite it to use with register_globals OFF?
TIA
If you had bothered to RTFM, you might've noticed that GET variables are stored in the $GET superglobal, POST in $POST etc. etc. etc.