Most visitors online was 17251 , on 24 May 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!If you put it in my file you no more need to put the session_start(); inside inc_auth.php, inc_client.php, inc_clan.php or inc_logout... because it will initialize session for each page.sense you added session_start();
inside inc_auth.php you will get conflicting errors.
But the above script isn't useful if your adding it a website
cause most sites already have the login. What ive done is strip
it down and changed the session and just included it into my
current control panel and added session_start();
No, anti sql injection..
PHP://The well-known antisql injection. Bad enough, it's needed. function antisql($sql) { $sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|--|\\\\)/"),"",$sql); $sql = str_replace("'", "''", $sql); $sql = trim($sql); $sql = strip_tags($sql); $sql = addslashes($sql); return $sql; }