Hi,
imagine this scenario
application --sends data via http post--> webserver/phpscript
in perl i can do:
open FH,"/tmp/myfile";
while (<STDIN>) { print FH,$_; }
the aequivalent in php doesn't work (empty file)
$FH=fopen("php://stdin","r");
while (!feof($FH)) {
$s=fgets($FH,4096);
.... etc
Why is that so?