/*-----POST VARIABLES-----*/
if (!empty($_POST['u']) && !empty($_POST['p']))
{
$user = strip_tags($_POST['u']);
$pass = strip_tags($_POST['p']);
}
that seems to work... wierd but it makes sense...
you cant assign a variable a value that doesnt exist... if the post data isnt there, theres no post array to get the value from.... hence the error
/brain fart