The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 10 of 10

Thread: Login Script with timer

  1. #1

    Login Script with timer

    Afternoon,

    What I'm looking for is a simple script that will allow a user to login and logout of a page, the thing thats most important is that I need the script to email me back the time the user logged in and the time they logged out again.

    Anyone know if anything like this exists? Or how easy it would be to code?

    Thanks,
    John
    The Shopping Penguin Sale - upto 90% off RRP
    http://www.shoppingpenguin.co.uk

  2. #2
    do you need the amount of time they were logged in for or when they logged in or out?

  3. #3
    i would use PEAR::Auth combined with PEAR::MDB2. use Auth to handle the authentication, then when a user logs in or out, just record it in a DB using MDB2. then you could just query the db for login/out times. emails would get heavy and unmanageable.

  4. #4
    Just when they logged in and out (time) it's all going into an excell spreadsheet so I can automatically work out durations.
    The Shopping Penguin Sale - upto 90% off RRP
    http://www.shoppingpenguin.co.uk

  5. #5
    arghhh so its for data?
    [c=27]
    ill give you $100,000,000 for your [/c]

  6. #6
    arghhh so its for data?
    Sorry I dont get what your getting at?
    The Shopping Penguin Sale - upto 90% off RRP
    http://www.shoppingpenguin.co.uk

  7. #7
    you want to know how many peaople are on your site and how long for so that you can record it then recive the data and make the site better for users?
    [c=27]
    ill give you $100,000,000 for your [/c]

  8. #8
    you want to know how many peaople are on your site and how long for so that you can record it then recive the data and make the site better for users?
    Kinda, It's for a work project to track how long employees are logged onto a PC for. We have a automatic dialler which records this but people despute the times, if we allow them to manually login and out they have to cause to complain.
    The Shopping Penguin Sale - upto 90% off RRP
    http://www.shoppingpenguin.co.uk

  9. #9
    what if they dont login?
    [c=27]
    ill give you $100,000,000 for your [/c]

  10. #10
    Then we have the automatic system to fall back on, But knowing these lot they'll login bang on time to make sure they're paid correctly.
    The Shopping Penguin Sale - upto 90% off RRP
    http://www.shoppingpenguin.co.uk

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012