PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
PHP is a SERVER scriptiing language and is executed on the server, so at bes, it could probably only get the state of the server's keyboard, assuming there is one attached to the server, and that is probably not what you want.