1) write a PHP code segment to keep track of the page visits by using a cookie. Cookie will keep track of how many pages the user has visited in the site. Assume the code segment is written on each and every page
2) write a PHP code segment to keep to track of the page likes by using a session. In the first page user visits the session should be created and then the session should keep track of how many pages the user is liking.
assume the code is written on top of each and every page.
Comments
Leave a comment