Let's consider a part of line 1:
($user != Me) and ($pass != test)
Read this forum's FAQ on register_globals
You should check for $POST['user'] and $POST['pass'] using [man]isset[/man] or [man]empty[/man]
After that, you should compare to the string literals '"Me"' and '"test"', not the undefined constants 'Me' and 'test'.
You should also use '&&' instead of 'and' for the comparison operator.
Later, you should use $SERVER['PHP_SELF'] instead of $PHP_SELF, e.g.
<form action="<?php echo $SERVER['PHP_SELF']; ?>" method="post">