Registration form (php) to create automatically account

Locked
User avatar
minumexh
Posts: 6
Joined: Tue 16. Jul 2019, 00:48

Registration form (php) to create automatically account

Post by minumexh »

Hello,

I'm new here and first I want to say thank you for the best Hosting Control Panel ever! ;)

Second I want to ask if is possible somebody (if) or me (I have basic knowledge about php) to make a php script form with Your Name, Your Email, Your Password and everything needed for account KeyHelp and will be done by: signup.php which will create an account by clicking the Register button automatically. I wan to offer free web hosting.
Image


Thanks in advance!
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Registration form (php) to create automatically account

Post by Alexander »

Hello minumexh,

Thanks for your kind words ;).

Currently, there are 3 choices:

1) Add all required fields directly into the database table `keyhelp`.`users`. The column names should be self-explanatory. Maybe you also need a domain, than you want to add data into `keyhelp`.`domains` as well and so on...
After that, some additional commands have to be called, data have to be inserted into the database. I can tell you, if you want go this route.

2) You can analyze, how KeyHelp is processing HTTP requests and perform the same requests by yourself. Analyzying can be done with a browser and its dev-tools.

3) Wait :). I may have something for you ready with the next update, which should help you achieving the things you want, without much headache
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
minumexh
Posts: 6
Joined: Tue 16. Jul 2019, 00:48

Re: Registration form (php) to create automatically account

Post by minumexh »

Hello Alexander,

Thanks for your reply.

Maybe I choose the easy way :D that is (3). With proper guidance I could make the registration form according to (1) but with a lot headache.

Simple form like: here; is the right way;

Best Regards.
User avatar
minumexh
Posts: 6
Joined: Tue 16. Jul 2019, 00:48

Re: Registration form (php) to create automatically account

Post by minumexh »

I think... form should've with predefined template and maybe the form look like with Keyhelp User Administration / Add user form, if I'm correct :?: of course if you can help me it would be perfect especially if there is something ready :D :D
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: Registration form (php) to create automatically account

Post by Tobi »

minumexh wrote: Wed 17. Jul 2019, 18:04 Hello Alexander,

Thanks for your reply.

Maybe I choose the easy way :D that is (3). With proper guidance I could make the registration form according to (1) but with a lot headache.

Simple form like: here; is the right way;

Best Regards.
Do not use the code on this website!
This code is vulnerable for SQL-injection!

You must sanitize every user input.
Never trust any user input!

Anyone can hack your database and probably your server!
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
User avatar
minumexh
Posts: 6
Joined: Tue 16. Jul 2019, 00:48

Re: Registration form (php) to create automatically account

Post by minumexh »

SQL-injection not great, not terrible... :D yes of course I want a safe way for server and MySQL database.

Thank you for your highlight Tobi. Is there a way to do it safely and without risk;
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: Registration form (php) to create automatically account

Post by Tobi »

You may use the basic script from the website anyway.
But you have to sanitize any user input.

Error handling is almost more work than the rest of the script.

Every user input is evil 😈
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Locked