Page 1 of 1

I wonder that php can display page content according to url?

Posted: Thu Apr 29, 2010 7:20 am
by rin
For example, on the shoping website,
When we see A product and then B product and......
The web page will show the our visit's history in small column.
It show the picture of the product that we visited.
I wonder that if it possible that let php show the web page content into mini-size.
Or I need to set the extra picture for every urls and icon.
So when I set that url, the url's icon will appear.....?

Re: I wonder that php can display page content according to

Posted: Thu Apr 29, 2010 12:31 pm
by Christopher
Yes, PHP can generate pages with content based on the previous pages visited. You can save the history information in the PHP session, or a cookie, or pass it through in the URL.