[Release] Redux registration form (PHP)

02/16/2015 21:03 turk55#1
Simple registration form for [Only registered and activated users can see links. Click Here To Register...]

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.
02/17/2015 00:37 m e n a#2
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
02/17/2015 00:49 turk55#3
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 shitty scripts got praised so much.
02/17/2015 00:53 Ism3lawy#4
php ? Version !!
02/18/2015 12:11 KraHen#5
Quote:
Originally Posted by Ism3lawy View Post
php ? Version !!
Dude, seriously, I don`t wanna be a dick, but please disappear, lurk the forums for a while, learn, instead of posting idiotic things. We`ve all been there.
02/18/2015 17:43 Ism3lawy#6
Quote:
Originally Posted by KraHen View Post
Dude, seriously, I don`t wanna be a dick, 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
02/18/2015 18:14 Xio.#7
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 :)
02/18/2015 23:25 m e n a#8
Quote:
Originally Posted by turk55 View Post
Haha, well I just got annoyed by the fact that shitty 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
01/07/2016 07:14 denominator#9
I get a server error?
01/07/2016 16:23 turk55#10
You probably don't have short open tags on, enable it in your php.ini
01/07/2016 21:24 denominator#11
I have turned it on but still the same error Server error 500 >.<
01/07/2016 21:43 turk55#12
What php version are you running?
01/07/2016 22:19 denominator#13
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 >.<
01/07/2016 22:36 turk55#14
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.
01/07/2016 23:11 denominator#15
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 damn 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