Posted by Rik on 07/24/07 16:34
On Tue, 24 Jul 2007 17:41:46 +0200, Jean Pierre Daviau <Once@WasEno.ugh>=
=
wrote:
> C:\Documents and Settings\Jean Pierre\Bureau>php -a
> Interactive mode enabled
>
> <?
> $userInput =3D readline('Enter something here: ');
>
> Fatal error: Call to undefined function readline() in
> C:\Documents and Settings\
> Jean Pierre\Bureau\- on line 2
RTFM <http://nl3.php.net/manual/en/ref.readline.php>:
Note: This extension is not available on Windows platforms.
So just use STDIN.
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|