Re: How to get/wait for user-input?
| From: | Marek Kilimajer | Date: | Mon, 02 Dec 2002 11:42:36 +0000 |
| Subject: | Re: How to get/wait for user-input? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126703@lists.php.net to get a copy of this message | ||
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