T
T
tolanych2014-12-05 16:15:39
Perl
tolanych, 2014-12-05 16:15:39

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

2 answer(s)
F
FanatPHP, 2014-12-05
@FanatPHP

Set the env environment variable
In Perl it should be easy, in PHP it's getenv()

A
Anton Shamanov, 2014-12-05
@SilenceOfWinter

By default, sessions are stored in files, you can parse them in php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question