This is technically obsolete now, and I'd recommend using [Only registered and activated users can see links. Click Here To Register...].
This is a secure registration script meant for Shaiya private servers.
I noticed a lot of private servers were using sandolkakos's registration script, which is very dangerous since it is vulnerable to SQL injection.
Ideally your UserUID column in the table PS_UserData.dbo.Users_Master should be set to auto-increment. If this is not the case, you will need to adjust this script, or ideally fix your database, to accommodate this.
You may need to modify the $sql variable in register.php to fit your database before this script will work.
I commented these scripts fairly verbosely, so please read the comments! They are meant to tell you useful stuff.
There are seven scripts you will need to make this work:
register.php (Edit the SQL in this file if needed)
register.view.php (Re-style the display in this file)
success.view.php (Re-style the success page in this file)
db.php
db.config.php (Edit this file with your personal database credentials)
recaptchalib.config.php (Edit this file with your personal reCAPTCHA key)
recaptchalib.php (From Google: [Only registered and activated users can see links. Click Here To Register...])
Here are the files, which also includes the files for [Only registered and activated users can see links. Click Here To Register...]. You should remove the password change files if you do not wish for users to be able to change their password.
This is a secure registration script meant for Shaiya private servers.
I noticed a lot of private servers were using sandolkakos's registration script, which is very dangerous since it is vulnerable to SQL injection.
Ideally your UserUID column in the table PS_UserData.dbo.Users_Master should be set to auto-increment. If this is not the case, you will need to adjust this script, or ideally fix your database, to accommodate this.
You may need to modify the $sql variable in register.php to fit your database before this script will work.
I commented these scripts fairly verbosely, so please read the comments! They are meant to tell you useful stuff.
There are seven scripts you will need to make this work:
register.php (Edit the SQL in this file if needed)
register.view.php (Re-style the display in this file)
success.view.php (Re-style the success page in this file)
db.php
db.config.php (Edit this file with your personal database credentials)
recaptchalib.config.php (Edit this file with your personal reCAPTCHA key)
recaptchalib.php (From Google: [Only registered and activated users can see links. Click Here To Register...])
Here are the files, which also includes the files for [Only registered and activated users can see links. Click Here To Register...]. You should remove the password change files if you do not wish for users to be able to change their password.