- Features
-
- Login Account, Register Account, Show and Create a Profile page Design.
-
- Include very simply way of web programming technology.
-
- Smooth user Experience and Responsive User Interface.
-
- Include Server side rendering and high security ensuring.
-
- User data,
INSERT
,GET
,UPDATE
&DELETE
features.
- User data,
-
- Securely hashed all the user's Password.
and more!
-
First unzip the project folder which I'm send you with the attachment.
-
Then simply move the extracted file of this web app into the
PHP
's orXAMPP
'shtdocs
folder. -
Then you will start the
MySQL & Apache
Server. -
Simple import the
assignment.sql
file in your datable which file I will put on the root folder of the project. -
If you change the database name or other you can easily find all the database credentials into the
config/db.php
files. -
You can simply open your favorite web browser and open a new tab for browse http://localhost/assignment/index.php or http://localhost/assignment/login.php the link.
-
If you can first time hit the url you will see a login page, then you can login the website you can use the demo email
[email protected]
and password aredemoaccount
, which I set the database sql file in previous, or you can easily register a new account to browse http://localhost/assignment/register.php link or simple click the register blue text which are stay on the bottom of the login form's submit button. -
At the last step, if you had carefully follow all the steps, it's will working fine.
-
- At first I design three web page such as
login, register & profile
pages using HTML5 and CSS3.
- At first I design three web page such as
-
- Then I create a database for this web application which name as
assignment
and create two table(user & profile)
of the assignment database for manage the users data and their profile data.
- Then I create a database for this web application which name as
-
- Here I'm use the
RDBMS
(Relation Database Management System) of MySQL and MariyaDB.
- Here I'm use the
-
- For my server side programming I'm use the popular web programming language
such as
PHP
.
- For my server side programming I'm use the popular web programming language
such as
-
- I'm make two controller such as
AuthenticationController & ProfileController
using php OPP way.
- I'm make two controller such as
-
- I handle all the user's request and other business logics in this controller files.
At last, How to run a PHP
web application from scratch in our local machine try to follow those step which are down below:
-
- Install a web server: Start by installing a web server software such as Apache, Nginx, or XAMPP (which includes Apache, MySQL, and PHP). Choose the server that best fits your operating system (Windows, macOS, or Linux) and follow the installation instructions provided by the server's documentation.
-
- Set up your project directory: Create a directory in the web server's document root folder where you'll store your PHP project files. For example, if you're using Apache, the document root directory is typically named "htdocs" or "www" (depending on your server configuration). Place your PHP files inside this directory.
-
- Start the web server: Launch your web server software and ensure it is running. Verify that the server is working by visiting http://localhost in your web browser. If the server is set up correctly, you should see a default page or a server information page.
-
- Access your PHP project: To access your PHP project, open a web browser and enter the URL corresponding to the location of your PHP files. For example, if your project is located at http://localhost/myproject, enter that URL in the browser. If everything is configured correctly, your PHP project should be displayed in the browser.