|
You last visited: Today at 07:43
Advertisement
[Release] Redux registration form (PHP)
Discussion on [Release] Redux registration form (PHP) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
01/07/2016, 23:54
|
#16
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 700
|
Did you change the database connection information in includes/settings.php? Because it seems like you are trying to connect with my connection settings. Simply change in includes/settings.php
define("MYSQL_HOST", "localhost:3307");
define("MYSQL_USER", "root");
define("MYSQL_PASSWORD", "123456");
define("MYSQL_DBNAME", "redux");
|
|
|
01/08/2016, 00:31
|
#17
|
elite*gold: 0
Join Date: Aug 2010
Posts: 931
Received Thanks: 76
|
Already did that
Code:
<?php
define("MYSQL_HOST", "localhost:3307");
define("MYSQL_USER", "root");
define("MYSQL_PASSWORD", "********");
define("MYSQL_DBNAME", "redux");
//Custom error handler, so every error will throw a custom ErrorException
set_error_handler(function ($severity, $message, $file, $line) {
throw new ErrorException($message, $severity, $severity, $file, $line);
});
|
|
|
01/08/2016, 00:59
|
#18
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 700
|
Quote:
Originally Posted by denominator
Already did that
Code:
<?php
define("MYSQL_HOST", "localhost:3307");
define("MYSQL_USER", "root");
define("MYSQL_PASSWORD", "********");
define("MYSQL_DBNAME", "redux");
//Custom error handler, so every error will throw a custom ErrorException
set_error_handler(function ($severity, $message, $file, $line) {
throw new ErrorException($message, $severity, $severity, $file, $line);
});
|
I am sure that you don't have MySQL running on port 3307, remove ":3307" and try again.
|
|
|
01/08/2016, 01:01
|
#19
|
elite*gold: 0
Join Date: Aug 2010
Posts: 931
Received Thanks: 76
|
Yup the 3307 was the problem lol, works now
|
|
|
02/19/2016, 10:12
|
#20
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,205
Received Thanks: 4,107
|
Quote:
Originally Posted by mohammedqq1
i feel bad when i see this f*c*i*g ****!
i am sorry .
|
Tourettes? What is the purpose of this comment besides being spam?
|
|
|
02/19/2016, 15:03
|
#21
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
|
Quote:
Originally Posted by Spirited
Tourettes? What is the purpose of this comment besides being spam?
|
Trying to fit in.
|
|
|
03/07/2016, 11:53
|
#22
|
elite*gold: 0
Join Date: Apr 2007
Posts: 208
Received Thanks: 43
|
I hate to be the one to bring up something posted over a year ago, but it should be known that there are some security issues with this. The inputs should be sanitized further before entered into the database. It's well written, and it was easy to read because it follows most of PSR standard (if anyone cares) but anyone who is too lazy to build off of this deserves to be punished by XSS lol.
|
|
|
03/08/2016, 01:27
|
#23
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 700
|
Quote:
Originally Posted by DePredaTe
I hate to be the one to bring up something posted over a year ago, but it should be known that there are some security issues with this. The inputs should be sanitized further before entered into the database. It's well written, and it was easy to read because it follows most of PSR standard (if anyone cares) but anyone who is too lazy to build off of this deserves to be punished by XSS lol.
|
Yes you are right, the inputs should be better sanitized but the point of the release was to show how it could be actually done compared to the other ****** register page that got released and praised so much.
|
|
|
11/17/2016, 17:17
|
#24
|
elite*gold: 0
Join Date: Jun 2014
Posts: 127
Received Thanks: 0
|
HElp Got Error For this Site
|
|
|
11/17/2016, 17:33
|
#25
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 700
|
Quote:
Originally Posted by arneljan
HElp Got Error For this Site
|
It is because you changed the initialize.php
|
|
|
11/20/2016, 01:39
|
#26
|
elite*gold: 0
Join Date: Jun 2014
Posts: 127
Received Thanks: 0
|
Quote:
Originally Posted by turk55
It is because you changed the initialize.php
|
No i didnt change it in initialize.php i was changing only in Settings
|
|
|
11/20/2016, 16:24
|
#27
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 700
|
Quote:
Originally Posted by arneljan
No i didnt change it in initialize.php i was changing only in Settings
|
Then that just proves the fact that you can not even change a settings file.
|
|
|
11/27/2016, 05:03
|
#28
|
elite*gold: 0
Join Date: Jun 2014
Posts: 127
Received Thanks: 0
|
Quote:
Originally Posted by turk55
Then that just proves the fact that you can not even change a settings file.
|
if i dont change the DataBase Password,Root or localhost how can player register to my sql.
|
|
|
11/28/2016, 10:26
|
#29
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
|
Quote:
Originally Posted by turk55
It is because you changed the initialize.php
|
Looking at the code, it's not because he changed initialize.php. The actual problem lies in DBConnection.php, but PHP sucks ***** and doesn't give you the actual error location when using namespaces (I don't know if there is a setting for that, but probably not, knowing how retarded PHP is.)
Unless he actually changed use Redux\Database, in which case he's ******
|
|
|
11/28/2016, 20:12
|
#30
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 700
|
Quote:
Originally Posted by Super Aids
Looking at the code, it's not because he changed initialize.php. The actual problem lies in DBConnection.php, but PHP sucks ***** and doesn't give you the actual error location when using namespaces (I don't know if there is a setting for that, but probably not, knowing how retarded PHP is.)
Unless he actually changed use Redux\Database, in which case he's ******
|
On a second look, he uses AppServ which is cancerous piece of ****... and is probably using php 5.2? Which probably doesn't even support namespaces and/or constants.
|
|
|
|
|
Similar Threads
|
[Learning Redux] Video Guides To Using Redux
03/22/2024 - CO2 PServer Guides & Releases - 43 Replies
So I know jumping into a new source can be scary and it's not something everyone wants to do, especially if they have a lot of content running already under something else (looking at you NCOS based servers!). These videos are designed to help people get their feet wet with Redux by providing accurate and easy to follow information on how to accomplish common tasks.
DOWNLOAD REDUX/FAQ:...
|
Registration form autofilling tool ?
05/31/2012 - General Coding - 0 Replies
Hey,
I need to register few accounts on leagueoflegends.com.
Do any of you know the tool, that i could partially auto it ?
It needs to type in, login, password, mail with +1 valuable, i can type captcha myself.
I could pay for the tool if somone could make me one.
|
PHP Registration Form
09/27/2010 - Shaiya Private Server - 10 Replies
Hello,
I had a php reg form for my private server.... but the server crashed and i had lost everything...
I managed to get everything back on but i cant seem to find the registration form. If anyone of you could help me out it would be greatly appreciated.
Regards.
|
[Request] Help with registration form (C#)
09/27/2010 - CO2 Private Server - 8 Replies
Hey ePvP's!
Today i've been working on a small windowsapplicationform that allows you to create an account in my database. Now, i created the design. Can anyone help me on the road? I don't know how to let the program interact with the server..
Now what i got atm is like this
3 masked textboxes (masked textbox1) (masked textbox2) <-- etc..
1 Check Box <-- which must be vinked
1 button <-- Register
All fields must be filled.
|
SunWorld Registration, please take a look, I need a form :D
08/11/2009 - SRO Private Server - 5 Replies
I searched the forum now, and i can't find anything about it..
I've got into the reg page, but can't understand AY thing :D can someone help me, what info i shall write in the different boxes?
On forehand THX
|
All times are GMT +1. The time now is 07:43.
|
|