Topic awaiting preservation: calling a .pcgi from a .php page (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-28-2002 22:10
I want to know how to either call a .pcgi page from a php page as a .pcgi file, or make a .pcgi page able to accept and pass on php session variables. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-28-2002 22:18
well, you could in theory store the sessionID in a post variable to the pcgi, unzip, and then redirect to php page, passing the SessionID as a get. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 04-29-2002 01:59
Hmm, couldn't you just make all of the pages .pcgi files? That way they'd all be running as the same user (you), and they would have the same session IDs. I haven't experimented with this, but it should work, .php and .pcgi are both PHP, just with different users. Do them all the same and all should be fine, I'd think. If you don't want to have to change all the file names, you can use .htaccess to force .php files to run as .pcgi, this is from the knowledgebase files... |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-29-2002 22:56
Thanks Doc |