Can anyone help me with a wee problem i have? My code goes:
<? function check_status()
{
if(session_is_registered("valid_user")
echo "You are logged in as $valid_user";
else
echo "You are not logged in";
}
the session is registered, initially on another page (the login page), but i can't access if from any function i've written. Do i need to pass the variable to the function and if i do, can people change its contents by page.php?valid_user=joe_bloggs
Hope this is clear. Many thanks
micro.