Here's the code:
PHP Code:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>?p=login" method="post"><fieldset>
<label><input type="text" name="name" id="name" /> Name</label><br />
<label><input type="password" name="pass" id="pass" /> Password</label><br />
<input type="submit" id="submit" value="Login" />
</fieldset></form>
I'm trying to figure out what this line do? PHP Code:
<?php echo $_SERVER['PHP_SELF']; ?>?p=login
Well, he said that it's going to direct us to a page? so is this going to be equal with action="auth.php" ???