Have you tried running the program from your php script?
Something like:
$stuff = System("cat foo.txt");
I have done something similar, but I don't recall exactly how I did it.
Jeff
At 04:30 PM 1/31/2002 -0800, David Yee wrote:
>How can I access data/parameters piped into a PHP shell script?
Oops, nevermind- I found the answer:
$fp = fopen("php://stdin", "r");
while(($buf=fgets($fp, 512)) != false) {
$input .= $buf;
}
echo "$input";
- Original Message -
From: "David Yee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, Jan
2 matches
Mail list logo