|
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
Navigation:
[Reply to this message]
|