Re: How to argue with ASP people...

From: Date: Tue, 04 Jan 2005 14:02:49 +0000
Subject: Re: How to argue with ASP people...
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-205582@lists.php.net to get a copy of this message
Sagar C Nannapaneni wrote:
I'm a passionate freak of PHP from the past 4 years (that i can remember). And i love everything that php can do. But just 2 days ago i came along a situation where i have to write a hit counter for my website without using a database or a text file. Just using a global variable i wanted to do this.
Not possible in any language. Well, it's possible in a way I guess. The count could be stored in memory, but as soon as the box is restarted, memory is dumped, etc., you'll lose the count.
I dont know whether php can do this...(or may b i missed it out)...but i couldnt get any equivalent thing in php like we have GLOBAL.ASA in ASP.
GLOBAL.ASA uses a file to retain it's settings. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#205582) next »