PHP: readline - Manual - PHP: Hypertext Preprocessor
A workaround if readline is not compiled into php, because for example the command is only needed within an installation routine. It works as follows under Linux: $f=popen("read; echo \$REPLY","r"); $input=fgets($f,100); pclose($f); echo "Entered: $in...