Register for your free account! | Forgot your password?

You last visited: Today at 02:43

  • Please register to post and access all features, it's quick, easy and FREE!


[Release] Redux registration form (PHP)

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1,500
Received Thanks: 573
[Release] Redux registration form (PHP)

Simple registration form for Redux

Is it MVC?
No

I want to add/remove fields, how do I do that?
Add/Remove fields in index.php
---
In "includes\models\Account.php"
Add/Remove the properties,
Add/Remove the validations in the function validate()
---
In "includes\classes\Register.php"
Add/Remove the assignment of values to the properties in the function handleRegistration()

Can this also be used for updating the existing values?
Yes, have a look at how the registration is handles and instead of calling insert() you can call update()
Note: You will most likely have to modify the update query.
Attached Files
File Type: rar reduxregister.rar (10.6 KB, 279 views)



turk55 is offline  
Thanks
5 Users
Old 02/17/2015, 00:37   #2
 
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 50
I thought you only doing this for small fees.. xD
Anyway, you deserve a thanks.


#EDIT : I already got my registration web page fully working since so long ago after you offered me your helping, thanking you is only for posting a release"withnofees" :3


m e n a is offline  
Old 02/17/2015, 00:49   #3
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1,500
Received Thanks: 573
Quote:
Originally Posted by m e n a View Post
I thought you only doing this for small fees.. xD
Anyway, you deserve a thanks.


#EDIT : I already got my registration web page fully working since so long ago after you offered me your helping, thanking you is only for posting a release"withnofees" :3
Haha, well I just got annoyed by the fact that ****** scripts got praised so much.
turk55 is offline  
Thanks
1 User
Old 02/17/2015, 00:53   #4
 
elite*gold: 0
Join Date: Nov 2012
Posts: 104
Received Thanks: 41
php ? Version !!


Ism3lawy is offline  
Old 02/18/2015, 12:11   #5
 
elite*gold: 0
Join Date: Jul 2006
Posts: 1,931
Received Thanks: 662
Quote:
Originally Posted by Ism3lawy View Post
php ? Version !!
Dude, seriously, I don`t wanna be a ****, but please disappear, lurk the forums for a while, learn, instead of posting idiotic things. We`ve all been there.
KraHen is offline  
Thanks
3 Users
Old 02/18/2015, 17:43   #6
 
elite*gold: 0
Join Date: Nov 2012
Posts: 104
Received Thanks: 41
Quote:
Originally Posted by KraHen View Post
Dude, seriously, I don`t wanna be a ****, but please disappear, lurk the forums for a while, learn, instead of posting idiotic things. We`ve all been there.
Do not be ideal, Who are you? I do not know who you are??
But that weve you are saying what disturb others
Ism3lawy is offline  
Old 02/18/2015, 18:14   #7
 
elite*gold: 67
Join Date: Aug 2014
Posts: 1,314
Received Thanks: 920
Quote:
Originally Posted by Ism3lawy View Post
Do not be ideal, Who are you? I do not know who you are??
But that weve you are saying what disturb others
I have no idea what you just said. You might be possessed. Exorcism might work
Xio. is offline  
Thanks
3 Users
Old 02/18/2015, 23:25   #8
 
elite*gold: 0
Join Date: Apr 2007
Posts: 137
Received Thanks: 50
Quote:
Originally Posted by turk55 View Post
Haha, well I just got annoyed by the fact that ****** scripts got praised so much.

Godbless credits savers, I will definitely use your script if I liked it!

I couldn't even check it out til now 'cuz my VPS is down and I'm still learning C# programming so I have no time for testing web pages, I thought that I was done with this part but I'm thirsty to learn more about PHP coding also. :3
m e n a is offline  
Old 01/07/2016, 07:14   #9
 
elite*gold: 0
Join Date: Aug 2010
Posts: 760
Received Thanks: 72
I get a server error?
denominator is offline  
Old 01/07/2016, 16:23   #10
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1,500
Received Thanks: 573
You probably don't have short open tags on, enable it in your php.ini
turk55 is offline  
Thanks
1 User
Old 01/07/2016, 21:24   #11
 
elite*gold: 0
Join Date: Aug 2010
Posts: 760
Received Thanks: 72
I have turned it on but still the same error Server error 500 >.<
denominator is offline  
Old 01/07/2016, 21:43   #12
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1,500
Received Thanks: 573
What php version are you running?
turk55 is offline  
Old 01/07/2016, 22:19   #13
 
elite*gold: 0
Join Date: Aug 2010
Posts: 760
Received Thanks: 72
5.6.0 I have my own register page but I just wanted to check to see if after creating an acc with another register page I was able to create a character >.<
denominator is offline  
Old 01/07/2016, 22:36   #14
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1,500
Received Thanks: 573
In index.php can you add:
error_reporting(-1);
before the require element?

Will look like this:

<?php
error_reporting(-1);
require "includes/initialize.php";
?>

This should show errors instead of internal server error.

---

If that fails can you add phpinfo(); as well and comment the require and tell me if PDO_MySQL is loaded or not.
turk55 is offline  
Thanks
1 User
Old 01/07/2016, 23:11   #15
 
elite*gold: 0
Join Date: Aug 2010
Posts: 760
Received Thanks: 72
I'm just going to give it a miss, I have server errors which I have no idea what is wrong even with redux I can't even debug the **** thing without errors *SIGH* So even if I get the register page working then it's all for nothing. I am able to access the webpage and add an account it just doesn't actually send the info and gives server error 500

Code:
Fatal error: Uncaught exception 'Exception' with message 'DB Connection failed: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. ' in E:\wwwroot\reduxregister\includes\classes\DBConnection.php:17 Stack trace: #0 E:\wwwroot\reduxregister\includes\initialize.php(17): Redux\Database\DBConnection::__construct('127.0.0.1:3307', 'root', '*****', 'redux') #1 E:\wwwroot\reduxregister\index.php(3): require('E:\\wwwroot\\redu...') #2 {main} thrown in E:\wwwroot\reduxregister\includes\classes\DBConnection.php on line 17


denominator is offline  
Reply

Tags
classes, namespaces, pdo, php, redux



« [Release] Elite-CoEmu OpenSource Revesions | Helpful 5165 Thread »

Similar Threads
[Learning Redux] Video Guides To Using Redux
06/20/2018 - CO2 PServer Guides & Releases - 38 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...
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...
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...
[Request] Help with registration form (C#)
09/27/2010 - CO2 PServer - Discussions / Questions - 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.. ...
SunWorld Registration, please take a look, I need a form :D
08/11/2009 - SRO PServer - Discussions / Questions - 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 +2. The time now is 02:43.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.