Hello!!! I asked about this like 3 days ago....does NO ONE have an answer for me?:

Does PHP have the ability to or will it soon have the ability to utilize Application level variables? I didn't see anything about it in the users manual (at least what i thought might be about Application level vars.)

I need to convert an ASP application that absolutely needs to utilize Application level variables into a PHP version. (Flash chat type thing..).

I don't want to have to use JSP.

-j

    I do not quite understand, what you mean by application level vars!!!

    No serverside scripting language is capable of exchanging vars with plugins directly including JSP

    The only way is to use hidden fields and javascript to have an exchange.

      hi,
      your problem can be solved with sessions.

      Greetings
      juggler

        I don't think so....

        How, then, would two clients share the SAME session variable (kinda like a chat iteration)?

        -j

          3 months later

          What people suggest is that you store the variables in a file or a database table, then every session shall have access to them. I know this is not as elegant as ASP, but if you write an include file for this task, then it is just as easy to create an application variable in PHP.

            9 days later
            Write a Reply...