08-08-2013, 11:39 PM
PHP is a language which is executed server side. It originally stood for Personal Home Page, but nowadays it stands for PHP Hypertext Preprocessor. The PHP in "PHP Hypertext Preprocessor" still stands for Personal Home Page however.
You'd generally want an SQL database which contains information about your users. Let's say it contains two values for each user: username and password (ignoring any kind of encryption for now).
You'd want to have a regular website, build with CSS, HTML and JS, where the user enters his username and password. Then you'd send that data to a server-side PHP script, which checks the username/password the user entered up against the username/password stored in the SQL database. If they match, it redirects the user to another page, and does some shenanigans with sessions. If not, it redirects the user back to the login form.
As I said, there are some great youtube videos on the topic.
You'd generally want an SQL database which contains information about your users. Let's say it contains two values for each user: username and password (ignoring any kind of encryption for now).
You'd want to have a regular website, build with CSS, HTML and JS, where the user enters his username and password. Then you'd send that data to a server-side PHP script, which checks the username/password the user entered up against the username/password stored in the SQL database. If they match, it redirects the user to another page, and does some shenanigans with sessions. If not, it redirects the user back to the login form.
As I said, there are some great youtube videos on the topic.