View Single Post
Old August 25th, 2008, 1:37 PM   #2 (permalink)
Mark
Surpass Developer
Excelling Contributor
 
Mark's Avatar
 
Joined in Jan 2004
Lives in Florida
Hosted on core.surpasshosting.com
731 posts
Gave thanks: 32
Thanked 96 times
the manpage for proc_open has an example which I believe is doing sort of what you need to do:

PHP: proc_open - Manual

Check example #1. You can put $_GET,$_POST inside $env:

PHP Code:
$env = array('POST' => $_POST'GET' => $_GET); 
and then call them inside the script you are executing with proc_open, like:
PHP Code:
$_ENV['POST']['some_post_var'
It is a round about way to do it, but i think it should work
__________________
Mark
Surpass Hosting Developer
ǝɹnʇɐubıs ʎɯ ǝ1oʇs xǝ1ɐ
Mark is offline   Reply With Quote