Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 20, 2008, 10:26 pm
rate this thread
using command line PHP.
I have Windows XP Pro SP 2 and PHP 5.1.6 (cli) (built: Aug 23 2006
I can't find any info about why it doesn't work, or a way that does
work. Any suggestions?
examples of attempted variations: (and I've tried others)
$psLine = fgets (STDIN, 1024); // phpa.php at http://david.acz.org/phpa/
stdin = fopen("php://stdin", "r"); // PHP_Shell-0.3.1
$l = fgets(stdin);
Re: Keyboard input using command line PHP under Windows
Under Windows you have to hit <ENTER> to complete the input. Windows
does not support character by character entry/processing without
installing ncurses. Even then i'm not positive but I think so. Thing is
you'll have to compile it yourself. I have found it works out of the box
under Linux but have not done much testing.
Registered Linux user #461062
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum