Guest Null Posted January 4, 2010 Posted January 4, 2010 Ok so basically what this does is lock your register so no new users cant sign up. Existing users can still login though, and you can turn the register lock on and off in your basic settings. Open register.php FIND You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ADD UNDER You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open Staff.php FIND You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ADD UNDER You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SQL:[mysql]INSERT INTO `database`.`settings` (`conf_id` , `conf_name` , `conf_value`) VALUES (NULL , 'register_off', '0'); [/mysql] And there ya go :) Quote
Zero-Affect Posted January 5, 2010 Posted January 5, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i never put code even at the end of Heredoc... why MRES? Quote
Guest Null Posted January 5, 2010 Posted January 5, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i never put code even at the end of Heredoc... why MRES? 1. I accidentally put it at the side of the end of the doc, instead of under. 2. because mres secures the $IP hack. unless ud rather have ppl sign up with fake ips. it doesnt really matter as long as u got the $IP hack secured inside the actual game, as it will cut off the $IP. but yea. Quote
Zero-Affect Posted January 5, 2010 Posted January 5, 2010 explain how $_SERVER['REMOTE_ADDR'] can be hacked... Quote
Joshua Posted January 5, 2010 Posted January 5, 2010 Server remote is actually better. If you use MRES , your IP logs will say EVERYONE is a multi. It bugs it a bit. Just using server remote, secures it and ip track works. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.