Eli wrote:
Hi..
Thanks for your help. I searched a bit more, combined with your data,
tested, and found a solution. :-)
Oops.. forgot the most important line..
#!/usr/local/bin/php -q
//initialize session:
ini_set("session.use_cookies","0"); //use no session cookies
session_cache_limiter(null);
Hi..
Thanks for your help. I searched a bit more, combined with your data,
tested, and found a solution. :-)
#!/usr/local/bin/php -q
//initialize session:
ini_set("session.use_cookies","0"); //use no session cookies
session_cache_limiter(null); //use no session cache limiter
session_id($sid);
.php.net/manual/en/function.shell-exec.php for starting a cli script
(don't forget to start php).
hope this helps,
Warren Vail
> -Original Message-
> From: Eli [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 15, 2005 7:07 AM
> To: php-general@lists.php.net
> Sub
Eli wrote:
> 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
> e
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 tha
5 matches
Mail list logo