Reply to Re: parsing order of php url?

Your name:

Reply:


Posted by Janwillem Borleffs on 05/16/05 15:02

petermichaux@yahoo.com wrote:
> Only the right most ProductID number controls the page viewed. Is this
> always the case in PHP5? If it is guaranteed to be the case than I can
> use this to great advantage in tracking the sequence of pages that a
> visiter had viewed.
>

It will be the case as long as the $_POST, $_GET and $_REQUEST superglobals
are defined as associative arrays, where the last key overwrites previous
ones when equally named.

On the other hand, I think it's not a good idea to base your solution on
this behaviour, because it may be subject to future changes.

A more reliable way of seeing on which pages your visitor has been is to use
sessions.


JW

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация