[PHP] Re: mediator between PHP and Perl (with sessions)

2005-02-15 Thread Eli
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);

[PHP] Re: mediator between PHP and Perl (with sessions)

2005-02-15 Thread Eli
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);

RE: [PHP] Re: mediator between PHP and Perl (with sessions)

2005-02-15 Thread Warren Vail
.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

Re: [PHP] Re: mediator between PHP and Perl (with sessions)

2005-02-15 Thread Richard Lynch
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

[PHP] Re: mediator between PHP and Perl (with sessions)

2005-02-15 Thread Eli
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