Posted by Jean Pierre Daviau on 07/24/07 13:50
Hi everybody,
On command line is there a simple way to get user input? I am
not thinking of argc.
I red about the complicated to install Readline (GNU).
I have found this in the manual wich does not work
-------------------------------------- Maybe this snippets
needs some tuning ----------------------------------
// read tree entriesfor ($i=0; $i < 3; $i++) {
$line = readline("Commande : ");
readline_add_history($line);
}
// List
print_r(readline_list_history());
// Liste les variables
print_r(readline_info());
--------------------------------------
Thanks for your attention.
Jean Pierre Daviau
--
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz
Processor Radeon7000 0x5159 agp
Navigation:
[Reply to this message]
|