Question: Create a php page (name it numOfVisits.php ) that uses cookies to record and track the number of times a webpage has been visited. If

Create a php page (name it numOfVisits.php) that uses cookies to record and track the number of times a webpage has been visited.

If the visitor is looking at the webpage for the first time, it should display the following message: Welcome to my webpage! It is your first time that you are here.

If the page has been visited more than once, display: Hello, this is the ## time that you are visiting my webpage (where ## shows the number of visits).

In this case you should also display a message that shows the day of the week, date, time and the time zone on your server that the page was visited last time in the following format

(as an example): Last time you visited my webpage on: Sun Mar 20 17:16:18 EST 2017 (EST= Eastern Standard Time Zone)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!