Re: [PHP] How to get/wait for user-input?

2002-12-02 Thread Marek Kilimajer
For console app you can use readline functions

Martin Thoma wrote:


Hello!

I'm using a PHP-script as a small console-app. Is the only way to give
parameters to it the $QUERY_STRING, or can I wait for the user to input
something (like scanf in C)? I couldn't find anything in the docs, so
perhaps this is not possible?!

Martin



 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] How to get/wait for user-input?

2002-12-02 Thread Martin Thoma
Hello!

I'm using a PHP-script as a small console-app. Is the only way to give
parameters to it the $QUERY_STRING, or can I wait for the user to input
something (like scanf in C)? I couldn't find anything in the docs, so
perhaps this is not possible?!

Martin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php