Most visitors online was 8830 , on 6 Feb 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!Does walking work yet? Logging in? Register?
My register doesnt work
INSERT INTO `users` (`id`, `username`, `email`, `password`, `sso_ticket`, `rank`, `credits`, `duckets`, `premium_currency`, `exp`, `look`, `hc_days`, `working`, `activation`) VALUES (NULL, 'Bruno', 'bruno@example.com', '$2y$10$kCSAvqgevQQ18rOdv.Xl6eEYifqIGz08xobX/tQ2Aq1IfJ939XN0a', '', '1', '49207', '100', '0', '0', 'ca-3084-96-96.ch-210-92.lg-285-110.cc-3075-110.sh-305-110.hd-3102-1', '527', 'Ares User', NULL);
Could you explain how to install this
I use PHP 7.3 and MySQL 5.0.12Going to take a look at this, Does anyone know which PHP/Mysql version you need?
Started to work on a register but it maybe a total fail.. I'm not good at PHP and I thought just Posting the data entered would b easy but I can't get passed it. For those who could either finish or use this here ya go:
<?php
$db_server = "localhost";
$db_username = "root";
$db_password = "King12";
$db_database="ares";
$regiuser=$_POST['regiuser'];
$motto=$_POST['motto'];
$email=$_POST['email'];
$password1=$_POST['password'];
$conn = new PDO("mysql:host=$db_server;dbname=$db_database", $db_username, $db_password);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$sql = "INSERT INTO users (username, motto, password, email, credits, duckets, rank)
VALUES ('$regiuser', '$motto', '$password1', '$email', '250', '5000', '1')";
$conn->exec($sql);echo "<script>alert('Account successfully added!'); window.location='index.php'</script>";
?>