<?php
chdir('/home/iccusion/public_html/user_sys');
if (!$_SESSION["valid_user"])
{
echo "<div class=content_box>";
echo "<div id=title>Iccusion User Login</div>";
echo "<form action=checkuser.php method=\"POST\"><table>";
echo "<tr><td>Username:</td> <td><input name=\"keyname\" size=\"20\"></td></tr>";
echo "<tr><td>Password:</td> <td><input type=\"password\" name=\"password\" size=\"20\"></td></tr>";
echo "</table><input name=\"submitbutton\" type=\"submit\" value=\"Login\">";
echo "</form>";
echo "<p><small>Not a registered user? Click <a href=\"?account&f=new_user\">Here</a>!</small></div>";
}
else {
history(-1);
}
?>
Well, I have this little form for registration, and I need it to post the data tot he checkuser.php file which is located a couple of dirs back. I don't even know if I am doing this right, well of course I'm not...
If more information is need please ask.
_digitalRyno