Re: Last visitors
| From: | Petar Nedyalkov | Date: | Tue, 19 Apr 2005 12:55:32 +0000 |
| Subject: | Re: Last visitors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213351@lists.php.net to get a copy of this message | ||
On Tuesday 19 April 2005 15:57, Ryan A wrote:
> Hey,
> Am a bit puzzled as to how to do this, I am modifying a profiles/dating
> site, the site works like this:
> if you are a "guest" you can see only limited details of a profile, if you
> have logged in, you see many more details.
>
> On the profile page there should be "last 10 visitors", it will not
> register the guests, but if someone had logged in and visited your profile,
> it should show their username....if there are 10 enteries in the db and
> when the 11th person comes...then the first person who came should be
> "bumped" off and the 11th person takes his place and so on....
>
> I hope i have explained it well, I dont think many of you even needed that
> long explanation as you might have already seen this on many sites and knew
> what i was talking about by the second line, but better more infomation
> than less right?
Just store the login time of each identified user and you can filter/sort by
it.
>
> Any ideas, links,code or classes on how i can implement this?
>
> Thanks,
> Ryan
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 4/18/2005
--
Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)
PGP ID: 7AE45436
PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc
PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]