Home Privacy Policy Terms Of Services Contact-us About-us

Sunday 8 September 2013

[Mybb] PHP Login

ad+1

<?php
chdir('fullstatic.com/forum'); // path to MyBB
define("IN_MYBB", 1);
require './global.php';
if($mybb->user['uid'])
{
echo "Hey, $mybbuser[username].<br>
Thanks for logging in.";
}
else
{

echo "<form action='fullstatic.com/forum/member.php' method='post'>

Username: <input type='text' name='username' size='25' maxlength='30' /><br />
Password: <input type='password' name='password' size='25' />
<input type='hidden' name='action' value='do_login'>
<input type='hidden' name='url' value='http://apexhacks.com/proxy1012038tyfheiu2fgbc82eyvihb3nbf8i3yugb4nfecr834g2h8feugf7r3tyfebnf783y4tg83 ​yfure//' />
<input type='submit' class='submit' name='submit' value='Login' /></form><br>";
}
?> 



What it does is makes a login PHP class that uses the global.php and member.php from your site

0 comments:

Post a Comment

Copyright © 2014 | Design By Templateclue