Posted by Eli on 10/04/12 11:08
It's quite easy to pass the session variables to the script. The problem
with sessions and shell PHP scripts, is that PHP doesn't support
sessions on that mode (CLI mode it is called). So, I would have to
manualy read the session file and parse it. If anyone knows what is the
exact function that is used to unserialize the session file, please
tell.. and it's not the unserialize() function in PHP.
I guess that using a shell PHP script with sessions is not the solution.
Is anybody familiar with another way to use sessions??? but not through
web, since the script returns sensitive data.
-thanks, Eli
[Back to original message]
|