Menu
Hi,
I want to have a variable set in 1 script that can be used in all other scripts eg a global variable.
I need a global variable to tell me if someone has logged in from every page and the url the site is located on for header redirects.
I don’t understand $GLOBAL and i tried
$my_var=”
global $my_var;
and echo $my_var in another script as it fails.