Jump to content

counters in php


ksumanth

Recommended Posts

hello friends,

 

In my website one webpage having details like name,age,height,weight and ..

In bottom i use "ahref" ViewFullprofile.

If i click viewfullprofile it should count the numbers.

Suppose i am viewing sanju profile 2 or 3 times it should count only one time.And if i click any other profile "Manju" it should count

 

Can any one help me out

 

Regards

sumanth

Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...

If you don't want a single person viewing a profile to be counted twice you can either store each view in a database (works with logged in users across browsers and machines) or store who's been looked at in a cookie (works without requiring a login but only within individual browsers so if the user looks at the office and home he is counted twice) or you can use both mechanisms if you have both logged in and non-logged in users.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.