I'm looking for a way to :
-
define a php global variable:
- If a execute a php file A, file B ... I can access this variable while apache is running.
-
'hide' the value of this variable
- I don't want the value of this variable be findable if someone access to the server and search (via a grep -nri by example) the value of this variable in a PHP file
My question is:
- Is there a way for inject a global persistent (while Apache running) variable in memory without define its value in any file in the server ?
=> if I create a simple PHP form where the user can set and submit the value of this variable, how can I save the value of this variable for it can be accessible from any PHP file ?
Question bonus:
- Is there a way for inject an usable PHP variable via a C or JAVA program ? (via a compiled program)