Memory sharing with php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aktar
    New Member
    • Jul 2006
    • 105

    Memory sharing with php

    the script : contains values that do not change

    user1 : triggers the script to load and stores its values in location X in the computers memory

    my question: how can user2 utilise the same values stored in location X?

    I understand php supports memory sharing but my knowledge is very shady on that subject.

    Any help appriciated
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Memory sharing in PHP is not available for Windows. For UNIX see chapter Semaphore, Shared Memory and IPC Functions .

    If you want there are classes that fake sharing by using using several types of shared memory containers, like database or files. See for such a class phpclasses.org IPC Shared Memory

    Good luck.

    Ronald

    Comment

    • aktar
      New Member
      • Jul 2006
      • 105

      #3
      Thanks for the pointer Ron

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        Originally posted by aktar
        Thanks for the pointer Ron
        You are welcome. See you around.

        Ronald

        Comment

        Working...