Monday, December 10, 2018

Lab_10

Assalamualaikum and hi..

In this exercise, I created login session that can recorded the time when user login and logout. After the user logout it displayed how long user had been in the website.

Login page

Homepage with logout button

Time login was displayed at the top.


Thursday, November 22, 2018

Lab_09

Assalamualaikm and hi..

For this lab exercise, I had insert video into database along with previous data. The video size must be below than 5MB. As for the coding, it had been set to be compatible for a few type of file such as .mp4, avi, .3gp, .mpeg, and .mov.

List of data

Coding for video

View food data

Lab_08

Assalamualaikum and hi...

Lab task for this time is to add image into database. The data will be insert and upload the image of food in register page. Later it can be display in List of food registered and view the data along with the image.

Coding to display image in PHP

Details of food that had been registered

List of food that had been registered

Form to register food.

Wednesday, November 21, 2018

Lab_07

Assalamualaikum and hi...

This is a sample for login page.


Lab_06

Assalamualaikum and hi...

During this lab task, I had use the interface given as example and did modification to satisfy the theme of my website which is FOODIE Restaurant. I add login form and password ant login session in the website.

Login form and password

Session

Coding for login form and password


Lab_05

Assalamualaikum and hi..

For this lab exercise, I had create database named test and table named customer which have 5 field to insert the data in MySql. MySql can be access through web browser.

Data in MySql.

Lab_04

Assalamualaikum and hi...

For this lab exercise we had did some exercise for php which is for server side web page. The server side web page being control or manipulate by admin while client side web page being control by users. We learnt how to create form for user to login into the website and give responses back to the users. The session for website also was created for the form. When the users logout it will response to session destroy.

Form

Session started

Coding for php


Lab_10

Assalamualaikum and hi.. In this exercise, I created login session that can recorded the time when user login and logout. After the user l...