hey all,
does anyone know of any tutorials that deal with having global_variables off as all the ones i've seen assume that it is ON and that makes things a little difficult :(
thanks
Printable View
hey all,
does anyone know of any tutorials that deal with having global_variables off as all the ones i've seen assume that it is ON and that makes things a little difficult :(
thanks
I really do not know of any books nor tutorials, but all you have to remember is if you are not using PHP 4.0+ you use the following:
$HTTP_POST_VARS
$HTTP_GET_VARS
If you are using 4.0+ its:
$_POST['variable']
$_GET['variable']
$_REQUEST['variable']
So every time you see an assumed global in the tutorial, like a cookie name or a variable from a form, just change it to have $_COOKIE['cookie name'] or $_REQUEST['form variable']