note 77400 deleted from index by nlopess
| From: | nlopess@php.net | Date: | Sat, 01 Sep 2007 09:40:18 +0000 |
| Subject: | note 77400 deleted from index by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-129961@lists.php.net to get a copy of this message | ||
Note Submitter: asuperboylyf at 163 dot com
----
I'm a chinese php fans with 2-year experience.
I think most phper need this feature.
It has aleady been exists in other languages like ASP and JSP.
We may call it application.
It may make many things easier like count the on line customers.
I think it should be joined as a global var like $_APPLICATION.
A simple example:
<?php
if(!isset($_APPLICATION['online']))
$_APPLICATION['online']=0;
$_APPLICATION['online']++;
?>
There are <?=$_APPLICATION['online']?> customers visiting this site.