Answer the question
In order to leave comments, you need to log in
How to pass Perl session variables to PHP?
I'm integrating a PHP page into a site written in perl-cgi. On the main page of the site, the user logs in and the session variables include [user code]. My section, written in PHP using virtual include, loads a .cgi header, and the rest of the code is written in PHP. How to extract the value I need from pearl session variables in PHP?
Links in Google tell only about the reverse process
Answer the question
In order to leave comments, you need to log in
Set the env environment variable
In Perl it should be easy, in PHP it's getenv()
By default, sessions are stored in files, you can parse them in php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question