Re: [phpOpenTracker-User] changing timerange for "Current Activity" report

Daniel Kehoe <[email protected]> Tue, 30 Dec 2003 14:18:19 -0800
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <[email protected]>
On Dec 30, 2003, at 1:39 PM, Daniel Kehoe wrote:

> phpOpenTracker has a great o-o design! Thanks, Sebastian!

It also has great documentation. So I can answer my own question. Mea 
culpa, RTFM.

> That said, how do specify the timerange when I call 
> phpOpenTracker_API_visitors_online?

       $resultSet = phpOpenTracker::get(
         array(
           'client_id' => $clientID,
           'api_call'  => 'visitors_online',
	 'session_lifetime' => '1440'
	)
       );

where the  'session_lifetime'  is measured in minutes.

--
  Daniel
  [email protected]



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click