RE: [PHP] destructors

From: Date: Sun, 13 Aug 2000 03:56:16 +0000
Subject: RE: [PHP] destructors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11494@lists.php.net to get a copy of this message
I don't see a destructor helping here at all. I'd write a function to create URLs that appends a time stamp for the creation of the link. The receiving page can then calculate the delta, and can continue to pass the link creation along for other pages. > -----Original Message----- > From: Remco Chang [mailto:rkc@bountyquest.com] > Sent: Friday, August 11, 2000 4:59 PM > To: php-general@lists.php.net > Subject: [PHP] destructors > > > hi, > > i understand that there are no "destructors" in php, but is > there a way to > hack around it? > > what i am trying to do is to measure the amount of time that someone > spends on reading a particular webpage (with a timer class that i am > writing)... i can grab a timestamp upon the execution of the > page (as part > of the constructor), but i want to be able to grab another > timestamp when > the user clicks out of the particular page... destructors > would be great > for exactly this purpose, but alas. :P > > any ideas, thoughts, and insights on this wil be greatly > appreciated. :) > > thanx in advance!! > > ---------------- > remco chang > bountyquest.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#11494) next »