You can't block the user from doing anything in PHP or Javascript. You have to use a platform language like C/C++/Java/etc. I will repeat myself, you will NEVER, EVER be able to control a user's machine from the browser whether that be Javascript, or PHP, or ASP, or anything else.
Reputation Points: 520
Solved Threads: 268
Code Monkey
Offline 1,564 posts
since Apr 2005