on Solaris 8.
Thanks in advance,
-bsh
Billy S Halsey wrote:
Hi all,
I've been trying for the last three hours to do something like this:
#!/usr/local/bin/php -q
?php
$fp = fopen(php://stdin, r);
while (!feof($fp)) {
$line = fgets($fp, 4096
Hi all,
I still have been completely unable to get this to work like it should.
I have a simple script:
#!/usr/local/bin/php -q
?php
$fp = fopen(php://stdin, r);
while (($buf = fgets($fp, 512)) != false) {
$input .= $buf;
}
echo $input;
?
So if I call this echo.php
Hi all,
I've been trying for the last three hours to do something like this:
#!/usr/local/bin/php -q
?php
$fp = fopen(php://stdin, r);
while (!feof($fp)) {
$line = fgets($fp, 4096);
print $line;
}
fclose($fp
3 matches
Mail list logo