Hello folks,

I've had some problems with the scope of a variable.
I need a variable which can maintain it's value throughout all the pages
of my web-site.
I've tried to define a variable in "code-global". It worked fine, but it
seems that when I retrieve a new page it loses its previous value and it
is initialized with its initial value declared in "code-global" .
In other words how can I "obtain" a "global" variable.
I've also tried with environment variables (putenv,getenv) but this
also looses its value (I verified this also with phpinfo()).
As I know in such a case I can use cookies, but I do not want .

        Best regards,
        Marius


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to