This iss the form the board is using for logins,
<!--// Form declaration that i was talking about earlier, Allready set for where it needs to be //-->
<form action="http://s4.invisionfree.com/Robslair/index.php?act=Login&CODE=01" method="post" name='LOGIN'>
<!--// Login script is using this to validate referer //-->
<input type='hidden' name='referer' value="http://s4.invisionfree.com/Robslair/index.php?act=idx" />
<!--// Username textbox //-->
<input type='text' size='20' maxlength='64' name='UserName' class='forminput' />
<!--// Password textbox //-->
<input type='password' size='20' name='PassWord' class='forminput' />
<!--// Remember me option 1 //-->
<input type="radio" name="CookieDate" value="1" checked="checked" />Yes
<!--// Remember me option 2 //-->
<input type="radio" name="CookieDate" value="0" />No
<!--// Privacy checkbox //-->
<input type="checkbox" name="Privacy" value="1" />Don't add me to the active users list
<!--// Submit Button//-->
<input type="submit" name='submit' value="Log me in" class='forminput' />
<!--// Close of form objects //-->
</form>
- <!--// Form declaration that i was talking about earlier, Allready set for where it needs to be //-->
- <form action="http://s4.invisionfree.com/Robslair/index.php?act=Login&CODE=01" method="post" name='LOGIN'>
- <!--// Login script is using this to validate referer //-->
- <input type='hidden' name='referer' value="http://s4.invisionfree.com/Robslair/index.php?act=idx" />
- <!--// Username textbox //-->
- <input type='text' size='20' maxlength='64' name='UserName' class='forminput' />
- <!--// Password textbox //-->
- <input type='password' size='20' name='PassWord' class='forminput' />
- <!--// Remember me option 1 //-->
- <input type="radio" name="CookieDate" value="1" checked="checked" />Yes
- <!--// Remember me option 2 //-->
- <input type="radio" name="CookieDate" value="0" />No
- <!--// Privacy checkbox //-->
- <input type="checkbox" name="Privacy" value="1" />Don't add me to the active users list
- <!--// Submit Button//-->
- <input type="submit" name='submit' value="Log me in" class='forminput' />
- <!--// Close of form objects //-->
- </form>
The HIDDEN element is where your login script is getting its referer, so security should be no problem.
As long as you have everything in the above codebox (minus the comments of course) on the page you want to login from you should have no problems.
NOTE: I stripped the validate function with the onsubmit handler so i diddnt have to dig all of the javascript out too, if you want client side validation back you have to make sure that the javascript is somewhere to be found and add the onsubmit= handler back to the form decloration.
I registered in the forums to get an id and pw,
then I tested this from my site (ASP BTW) and from my desktop with success both times.
Strong with this one, the sudo is.