I have a php script and i want to store some information in RAM. The information should be accessible ONLY from my script and stored all time. What is best way to do that?
What about globals arrays?
I want to do it for security reasons. No one can to get access to the information. For example If somebody hacks one of the my scripts they cannt to get access to the stored data.
I suppose you mean “store in RAM across various requests” since all variables in PHP (inside 1 script) are already stored in RAM. You should look into this (depending on the access you have to the server to install stuff / let someone install stuff)
http://memcached.org/