|
You last visited: Today at 21:07
Advertisement
Register code or script for 6607
Discussion on Register code or script for 6607 within the Conquer Online 2 forum part of the MMORPGs category.
02/22/2021, 12:24
|
#1
|
elite*gold: 0
Join Date: Jun 2015
Posts: 39
Received Thanks: 9
|
Register code or script for 6607
Can anyone help me with a register code or script. I need it for my website register page, but I can't seems to get it link to the database in mysql. Please help and thank you!
|
|
|
02/22/2021, 14:12
|
#2
|
elite*gold: 0
Join Date: Jul 2009
Posts: 943
Received Thanks: 408
|
If you need help you'd better provide us some info on what you're getting trouble. Otherwise it seems like you want to pay someone to make it for you.
|
|
|
02/23/2021, 19:03
|
#3
|
elite*gold: 0
Join Date: Feb 2021
Posts: 28
Received Thanks: 2
|
......
|
|
|
02/23/2021, 23:25
|
#4
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
To be fair register page should be simple, there are plenty of examples online
|
|
|
02/25/2021, 05:23
|
#5
|
elite*gold: 0
Join Date: Jun 2015
Posts: 39
Received Thanks: 9
|
I have a php script but this doesn't seem to be working, it wont connect to mysql database.
<?php
$conn = mysql_connect("localhost", "root", "password");
$db = mysql_select_db("database");
if(isset($_POST['submit']))
{
if(isset($_POST['username']) && $_POST['pass'] != "")
{
if($_POST['pass'] == $_POST['pass2'])
{
if(strlen($_POST['pass']) > 3 && strlen($_POST['pass']) < 32)
{
$sql = "INSERT INTO `accounts` (`Username`, `Password`) VALUES ('$username', '$pass')";
$sql = mysql_query($sql);
echo "Registered Successfully";
} else {
die("Your password must be between 3 and 32 characters.");
}
} else {
die("Your passwords do not match.");
}
} else {
die("Please enter in a password.");
}
}
?>
Quote:
Originally Posted by pintinho12
If you need help you'd better provide us some info on what you're getting trouble. Otherwise it seems like you want to pay someone to make it for you.
|
|
|
|
02/25/2021, 10:49
|
#6
|
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 31
|
Quote:
Originally Posted by HeartlessBoiYang
I have a php script but this doesn't seem to be working, it wont connect to mysql database.
<?php
$conn = mysql_connect("localhost", "root", "password");
$db = mysql_select_db("database");
if(isset($_POST['submit']))
{
if(isset($_POST['username']) && $_POST['pass'] != "")
{
if($_POST['pass'] == $_POST['pass2'])
{
if(strlen($_POST['pass']) > 3 && strlen($_POST['pass']) < 32)
{
$sql = "INSERT INTO `accounts` (`Username`, `Password`) VALUES ('$username', '$pass')";
$sql = mysql_query($sql);
echo "Registered Successfully";
} else {
die("Your password must be between 3 and 32 characters.");
}
} else {
die("Your passwords do not match.");
}
} else {
die("Please enter in a password.");
}
}
?>
|
Depends on the PHP version you are using.
MySQL is deprecated, so you should use MySQLi.
|
|
|
02/25/2021, 20:01
|
#7
|
elite*gold: 0
Join Date: Jun 2015
Posts: 39
Received Thanks: 9
|
I used Navicat version 8.2.13 enterprise
Quote:
Originally Posted by bashondegek
Depends on the PHP version you are using.
MySQL is deprecated, so you should use MySQLi.
|
|
|
|
02/25/2021, 21:32
|
#8
|
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 31
|
Quote:
Originally Posted by HeartlessBoiYang
I used Navicat version 8.2.13 enterprise
|
You first need a webserver like XAMPP, WAMP or AppServ or something like that.
Navicat is just a database client.
So, set up a local webserver and then check the PHP version you've installed.
But still you will need to use MySQLi in your PHP instead of MySQL, since thats not supported anymore in the newer versions of PHP.
|
|
|
02/26/2021, 13:37
|
#9
|
elite*gold: 0
Join Date: Jun 2015
Posts: 39
Received Thanks: 9
|
Sorry to ask this dumb question but how do i download php and myqli version?
I do have appserv.
Quote:
Originally Posted by bashondegek
You first need a webserver like XAMPP, WAMP or AppServ or something like that.
Navicat is just a database client.
So, set up a local webserver and then check the PHP version you've installed.
But still you will need to use MySQLi in your PHP instead of MySQL, since thats not supported anymore in the newer versions of PHP.
|
|
|
|
02/26/2021, 15:56
|
#10
|
elite*gold: 0
Join Date: Mar 2020
Posts: 59
Received Thanks: 21
|
I agree with Turk.
If you can't even do this, which is just basic IT, not even programming, you are only wasting your time as well as anyone else who supports/helps you
|
|
|
02/26/2021, 17:01
|
#11
|
elite*gold: 0
Join Date: Jul 2009
Posts: 943
Received Thanks: 408
|
Quote:
Originally Posted by HeartlessBoiYang
Sorry to ask this dumb question but how do i download php and myqli version?
I do have appserv.
|
First you should stop using AppServ.
You can use Wamp which is less worse and you can choose if you're going to use it's own MariaDB or install it yourself (and disable Wampserver MariaDB).
With WampServer you'll find out a lot of insecure code already since it will not let your website run because of all obsolete could it must have.
Then you can write an wrapper for using mysqli or PDO for MySQL, both are good.
Or since you're clearly not good with PHP you can download a framework like Laravel that already have most things built-in.
|
|
|
02/26/2021, 18:10
|
#12
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Quote:
Originally Posted by pintinho12
First you should stop using AppServ.
You can use Wamp which is less worse and you can choose if you're going to use it's own MariaDB or install it yourself (and disable Wampserver MariaDB).
With WampServer you'll find out a lot of insecure code already since it will not let your website run because of all obsolete could it must have.
Then you can write an wrapper for using mysqli or PDO for MySQL, both are good.
Or since you're clearly not good with PHP you can download a framework like Laravel that already have most things built-in.
|
You are asking him to use a complete framework while the person doesn't even know how to enable an extension.
|
|
|
02/26/2021, 19:22
|
#13
|
elite*gold: 0
Join Date: Jul 2009
Posts: 943
Received Thanks: 408
|
Quote:
Originally Posted by turk55
You are asking him to use a complete framework while the person doesn't even know how to enable an extension.
|
I bet he can read documentations, which will (must) be easier than setup a website from scratch.
|
|
|
02/26/2021, 20:23
|
#14
|
elite*gold: 0
Join Date: Jun 2015
Posts: 39
Received Thanks: 9
|
you got it wrong. I mean i got the website everything to work, but then for the register, I can't make it to connect to the database, like after click submit/create account. It wont go into the database, all it appear is username, password. it won't appear actual username and password that you filled in. That's why I'm asking if i did something wrong or code it wrong.
|
|
|
02/26/2021, 20:29
|
#15
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
So the name of your database is database? Not cq, tq or something similar
|
|
|
 |
|
Similar Threads
|
6607 Source for testing purposes
07/11/2020 - CO2 PServer Guides & Releases - 10 Replies
Hello, I found a 6607 source online which is mostly functional and I'll give it out here for people who want to use it for testing purposes!
DISCLAIMER: I do not encourage you to use this in a live server!!! There are many shortcomings to this source, which if you were to fix it would possibly work. I shared this just for testing purposes and for people who are looking for high sources to build on/rebuild
Problems:
1. !!! PASSWORDS ARE UNENCRYPTED ON THE vikings.sql file. You should...
|
Fiesta Register Script V2.0 - OdinRegister Script
02/18/2013 - Fiesta Online - 6 Replies
Hey,
hab das alte Fiesta Register Script V1.1 wiedergefunden und hab mir gedacht ich schreibs mal passend für JokerServer die mit OdinFiles laufen um.
Das einzige was ihr machen müsst ist die index.php mit euren SQL Daten zu füttern, ihr könnt diese mit einfachen TextEditor programmen wie notepad.exe (Editor) oder wordpad öffnen.
EDIT1: da war n kleiner fehler der bei über 10 Accs immer alles mit nEMID 2 erstellt hat, fixed. Neue version im Anhang.
|
V14 Register Script für Gms [Homepage Script]
05/21/2011 - Flyff Private Server - 10 Replies
Naja, Meine frage wär wie man nen V14 Register Page macht wo man wenn man registriert sofort Gm ist =D.
PS: für ein ein Test Server ;3
Trafalgar†Law ~
|
[SCRIPT]Register Script !!
05/10/2010 - Metin2 PServer Guides & Strategies - 13 Replies
Hey ich wollte euch mal ein Register Script geben hab ein header und background genzu gefügt.
Es ist Das stinck normale China Register Script von mir Übersetzt.
Vllt wollen es ja paar von euch haben.
Bild:
http://img4.imageshack.us/img4/8392/92840753.jpg
|
All times are GMT +1. The time now is 21:08.
|
|