[PHP-DB] Make history HOW?

2001-04-19 Thread Aleksey Yarilovets

Hi everyone !

The question is:

how to build a script that displays history of user clicks like:

Home  Setting  User Properties

BUT you can go into UserProperties from other locations so somewhere it will
be OK to get

Search  User Results  User Properties

Does enybody done it?

PS: www.geocities.com does but how? That is the question

Thanks, Alexey
--
--
LEA*D IP Systems
Phone: +972 4 999 1212 (ext. 213)
Fax: +972 4 999 1213
Mobile: +972 58 774 369
Email: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Make history HOW?

2001-04-19 Thread Timothy Aslat

Aleksey Yarilovets wrote:
 PS: www.geocities.com does but how? That is the question

Try using the $HTTP_REFERER variable.  It returns the previous URL provided you
actually clicked a link to get to the current page.  It's an environment
variable, but easily handled in PHP

Cheers

Tim

-- 
| Disclaimer:| Timothy Aslat [EMAIL PROTECTED] |
| The sender of this email is a figment  | http://www.goodiesruleok.com   |
| of a deranged imagination and leaves it| Spyderweb Consulting   |
| to your own devices to decide whose... | P: 82270800M: 0401088479   |

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Make history HOW?

2001-04-19 Thread Russ Michell

I have a similar PHP system on my site using sessions:

I have an admin session, where each step(1-5) is a different 
page(script) and as each page is progressed into a new session is 
registered with the users username, the activity currently being edited 
and the team within this activity they are editing.

This same method could be employed by you where the page title is 
registered as a session variable and echoed to the page. If the user 
goes back a page then check to see if the variable is set and if it is 
then unregister or destroy it, thus delivering an accurate method of 
the users progress throughout the site.

 
if(!empty($yourvar)) {
session_unregister('yourvar');
}

Hop this is of some use to you!
Regards:

Russ

#---#

 "Believe nothing - consider everything"
   "Web Developers do it on-the-fly."

  Russ Michell
  Anglia Polytechnic University Webteam
  www.apu.ac.uk/webteam
  [EMAIL PROTECTED]
  +44 (0)1223 363271 ext 2331
  
  www.theruss.com

#---#


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]