Right, so what I'm trying todo is have http://mysite.com/index.php as my main site splash page. Now on that splash page I have a login form. (Code is below.) What I need down is to hook it into a forum so it validates the login or not.
But if the login is incorrect it will go back to http://mysite.com/in...act=loginfailed
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo $_SERVER["HTTP_HOST"] ; ?> :: Log In</title>
<style type='text/css' media='all'>
@import url('http://<?php echo $_SERVER["HTTP_HOST"] ;?>/main.css');
</style>
</head>
<body><p> </p>
<form id='install-form' action='index.php' method='post'>
<input type='hidden' name='_sd' value='b%3A0%3B'>
<div id='ipswrapper'>
<div class='main_shell'>
<div id='navigation'>
<ul id='section_buttons'>
<li class='active'><span>Log In</span></li>
</ul> </div>
<div class='content_shell'>
<div class='package'>
<div>
<div class='content_wrap'>
<div style='clear:both'></div>
<h2> This Login system is still in the works.</h2>
<input type='hidden' name='do' value='login' />
<br />
<fieldset>
<legend>Log In</legend>
<div id='login_controls'>
<label for='username'>Sign In Name</label>
<input type='text' size='20' id='username' name='username' value='UserName'>
<label for='password'>Password</label>
<input type='password' size='20' id='password' name='password' value='PassWord'> </div>
</fieldset>
<br /> <div style='float: right'>
<input type='submit' class='nav_button' value='Next >' />
</div>
</div></div></div></div></div></div></form></body></html>
So in other words,
Fill in login form > Click next > Checks against a forums database if user/pass is valid > If not valid, goes back to index.php and shows an error. > But if valid, goes to a whole different file.
.





















