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

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
rin
Forum Newbie
Posts: 3
Joined: Wed Apr 28, 2010 11:57 pm

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

Post 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.....?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

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

Post 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.
(#10850)
Post Reply