You are here: Re: keeping variables between webbrowsers requests « PHP Language « IT news, forums, messages
Re: keeping variables between webbrowsers requests

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация