PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Notice: Undefined variable: userid in /usr/home/sgerbitz/public_html/beta/index.php on line 6
Notice: Undefined variable: log in /usr/home/sgerbitz/public_html/beta/index.php on line 42
Notice: Undefined index: valid_user in /usr/home/sgerbitz/public_html/beta/i-auth.php on line 4
You are not logged in.
They are set in the format $_SESSION['variable'] or $variable. It doesn't do this on my server only on one a user has set up.
The "undefined variable" notices are indicators that you're using (surprise surprise) a variable that you haven't defined yet. The "undefined index" means you're indexing into an array with a key that you haven't defined yet. These are one of three types of error reporting that PHP can do. You'll have to change the error reporting level if you don't care that the variables are not instantiated, but you want the messages to disappear.
See http://us2.php.net/error_reporting