Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End need help in php

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #237796
    xpedientnetech
    Participant

    i create websites and more. but i created a registration form right but dont know how to continue after that after they click on register i want it to create the user and there profile and them be able to have there account and for them to be able to modify there profile to add info pics and stuff they would be able to do
    and to create the backend and all
    creating the rest after creating registration form the next steps after that

    #237818
    Anonymous
    Inactive

    Help us to help you.

    Firstly, what code do you currently have? Could you post it somewhere (github’s ideal, but pastebin is a good second)?

    Secondly, are you trying to do this for a real site, or to help you learn how to code?

    If you are trying to solve a problem for a real site, then there are a lot (A LOT) of account management software solutions out there. Consider using one that already exists.

    If it is to help you to learn then great – that’s what forums like this are here for, but asking how to write your whole site is a bit much. Show us what you already have written and what you know, and we can work with that.

    To answer your question directly, the next steps after creating a registration form would be:

    1) Write a script for that form to send information to that: a) assigns the information from the form to variables, b) validates the form data to make sure it’s acceptable (no empty usernames, please), c) safely inserts the data (and hashed passwords) into a database and checks that the insertion executed correctly (no duplicate usernames either), d) redirects to a login page OR sets the user’s session so they are logged in, +/- sending a confirmation email to the user to validate the account.

    2) Write an account page so the user can edit their information including a script that basically does what 1) does but updating records rather than inserting them.

    3) Write a site that users want to register for.

    #237820
    xpedientnetech
    Participant

    Ok doing it for a real site and need help with the steps and do all you wrote on the forum for me. Help me and I’ll help back in anything I can

    #237822
    Anonymous
    Inactive

    Ahh, cool. Then no worries. Google found the following:

    http://usercake.com/
    http://www.userfrosting.com/

    I’ve never used either, but definitely worth checking out. Good luck!

    #237824
    xpedientnetech
    Participant

    is there any other way would be able help me please

    #237825
    Anonymous
    Inactive

    Sure. If you’re looking for tutorials and know a little PHP already, then the following is a reasonable place to get the basics. It’s not a great application design, but it’ll show you how to handle the form and database side of things:

    http://www.codingcage.com/2015/04/php-login-and-registration-script-with.html

    Also, don’t forget the manual!

    http://php.net/manual/en/index.php

    Alternatively, if you start posting actual code you want advice on, we could discuss stuff specific to your situation.

    P.S. A good place to start if you have zero experience and want to learn would be to make sure you can submit your registration form and echo back the fields you submitted. A good starting point for that is here:

    http://php.net/manual/en/tutorial.forms.php

    If you aren’t able to jump that hurdle yet then there’s not a lot of point in discussing more complicated code at this point.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.