login signup page with php mysql api

Similar Posts

77 Comments

  1. Shehryar,

    Fantastic tutorial!! I am receiving the following API error message:
    __________________

    Not Found

    The requested URL /app/.api/user/login.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    It must be on my end. I think that I have followed the steps correctly.

    Perhaps it is located in the wrong folder?

      1. Shehyar,

        I removed the . period but still receive the following message (below).

        Is the problem perhaps the naming structure – for example a have a main index.html on the homepage then subfolder app, which in turn contains the index.html file, the assets folder and api folder – i.e. is the issue that I have two index.html files even though they are in separate locations?

        My structure looks like this:

        Main Site:

        Index.html
        About.html
        Pillars.html
        assets
        |
        app
        |
        index.html (the file structure that is the subject of this course)
        |
        assets (the files that are a part of the course)
        api

        ___________________

        Not Found
        The requested URL /app/api/user/signup.php was not found on this server.

        Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

        1. One other point of clarification is that the url for my database is not running off the url that you provided below

          localhost/api/users/login.php?username=shehryar&password=12345

          It is running to another location.

          1. Was able to get it to work – Thank you very much for your assistance – Get tutorial and excellent work on your part

  2. hi..pls explain following steps in clear
    assets
    ├─── css
    ├────── style.css
    api
    ├─── config/
    ├────── database.php – file used for connecting to the database.
    ├─── objects/
    ├────── user.php – contains properties and methods for “user” database queries.
    ├─── User/
    ├────── signup.php – file that will accept user data to be saved to the DB.
    ├────── login.php – file that will accept username & password and validate
    i can’t able to understand the asset config objects folder?shall i want to create this folder or is it already exists??

    1. The structure is to organize your project files.
      All your static files must be in a separate folder so I named it as “Assets”. You may use the name of your choice.
      Same is the case with Config Folder.

  3. hi, I am creating a cinema booking system for my final year project and I am trying to incorporate this into my project however I have been unable to get it to work, is there any way you would be bale to help me?

    many thanks

    1. Am here for for the same reason bruh “online shopping system ” though, Hit me up in instagram @kiddowhy. lets help each other.

  4. please i need a help. i want to create a login form username and password where users can create there username and password to login to a page

Comments are closed.