Re: How to argue with ASP people...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Sagar C Nannapaneni <sagar@xxxxxxxxxxxxxxx> wrote:
> 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.
> 
> 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.

If GLOBAL.ASA isn't considered a text file, then you can probably use
SQLite. Just don't call it a database. :-)

What sort of situation did you encounter where you were required to
persist data without the two primary means of doing so? You can persist
data in memory, I guess, depending on how permanent you need this to be -
your hit counter would be reset when the server reboots. It could be like
the high scores on an arcade machine. :-)

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly     HTTP Developer's Handbook - Sams
Coming Soon                 http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux