 <p>I guess you are running PHP without <a href="http://pl2.php.net/manual/en/ini.core.php" rel="nofollow noreferrer"><code>register_globals</code></a> option which is safe. That's why you need to access the submitted values using <code>$_POST['user']</code> and similar...</p> <p>How about adding:</p> <pre><code> $user = $_POST['user'] $email = $_POST['email'] // etc... </code></pre>