Menu
Ok so lately I’ve been creating PHP snippets that run under the command line (servers, clients, all sorts of such stuff). But I have a couple of questions:
1) How can I stop the user from typing things in the terminal while the script is running?
2) Is there any way to prompt for input from the user? (like echo “Please enter your name: ” and then wait for the user to type something and press enter)
EDIT: Of course, I’m doing this under Linux.
Edit again: one other question: Can I delete something I outputted? I tried b but it doesn’t seem to work.