Curt Zirzow wrote:
> * Thus wrote Weston Cann ([EMAIL PROTECTED]):
> > A while back I wrote a small script that was designed to work as an
> > interactive interpreter for PHP code, a la Python. The script itself is
> > written in PHP, and is pretty basic:
> >
> > <?PHP
>
> > function readln()
> > {
> > $fp=fopen("/dev/stdin", "r");
> use fopen('php://stdin', 'r') instead.
>
> http://php.net/manual/en/wrappers.php.php
Muchas Gracias! That solves the problem -- now I just wish I understood why.
/dev/stdin is present on both the system the original script ran on and the problem
system....
-W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php