Try this code

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
Name: <input type="text" name="name"><br>
E-Mail: <input type="text" name="email"><br>
I'm already a...