LOGIN/SIGN UP

Nibia and I wrote the php code for the login and sign up page.

 Login: 

Screen Shot 2015-04-17 at 13.10.41This is the login_index.php file for the login page it contains the form that needs to be submitted – so it creates the boxes where you input a username and password. The index page for the login page must include all files that contains information or performs a function to do with the login page so all code is included on the same page.


Screen Shot 2015-04-17 at 13.11.01login.php this file contains the sessions that determine whether the user was successful in logging in – it uses the information supplied on the database to determine this.


Screen Shot 2015-04-17 at 13.11.26login_connect.php requests access to the database mysqli it can then retrieve the required information from phpMyAdmin.


 

Screen Shot 2015-04-17 at 13.11.37login_functions.php


 

Screen Shot 2015-04-17 at 13.47.48

Once I complete the page and ensured it was fully functional I combined it with the css file that Mark and Luke had written to form a functional and aesthetically pleasing login page.

Sign up:

Screen Shot 2015-04-19 at 13.49.46

The sign up page has the same format of files as the login the main difference is the form that the user submits. The table that the information is stored in the database if where the login retrieves its information that allows a login session to be successful.

Screen Shot 2015-04-17 at 13.47.33

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s