|
Posted by eliran on 09/07/07 07:44
On Sep 6, 8:10 pm, Michael Fesser <neti...@gmx.de> wrote:
> .oO(eliran)
>
> >I just wonder if in PHP there is some feature of internal database,
> >ofcourse with lock features to get/set data something like:
> >lock var1
> >$GLOBALS("var1")=varValue1
> >unlock var1
> >and on next request I can use the varValue1 like:
> >varValue1=$GLOBALS("var1")
>
> >is it hard to get ?
>
> >to use external files ,it's really not a resonable solution
>
> Why not? You have to keep the data somewhere. A file is one way for
> doing that. A database and shared memory (if available) are others.
>
> Micha
why PHP doesn't have some wrapper for keeping data
in the syntax I mentioned above like:
$GLOBALS("var1")=varValue1
so it will be kept as 'DataBase' for next request ?
so if it's a data base (memory or disk save)make:
^$GLOBALS("var1")=varValue1 ; (with additional tag for 'disk')
no more
all the odbc,or flat file interfaces are not fast enough.
if I need to keep only some string or array elements.
EL
Navigation:
[Reply to this message]
|