Eric,
I tried it and did get anything so I probably don't understand what you said.
"peter - pass it as a GET-style variable:
exec("phpscript.php?var=abc");
and inside your screipt, you grab it as $_GET['var'];
"
I tried to pass it as a get but it won't execute at all.
So I tried the following which executes but I can't grab the var:
$var="test";
$execute="/home/myaccount/special/sda51.cgi";
exec("/usr/bin/php $execute $var");
Tried to the following without any results:
$var1=$var['0'];
$var1a=$var['1'];
$var1b=$var['2'];
$var1c=$var['3'];
$var1d=$var['4'];
$var2=$var['var'];
Any Ideas ?
Thanks,
Peter