Just wondering if this could be done. I am looking at putting some Assembly Language in PHP. Just wondering if the interperter could also compile. 🙂 Let me know. Thanks!!
Chad
The best you can do is to exec external compiled binary from php. btw, asm in not platform-independent. How you plan to use it with PHP and for what task?
I need to disable the Print Screen button .... and also disable the right button on the mouse while it is being used inside I.E. and others. I know ASM is not platform independent. I was just seeing if I can do something in PHP. I could see where they wouldn't because it would mess with the stack of the server and that could lead to major security flaws. I was just asking.
Not a chance to disable Print Screen button on client machine if you run PHP script on a remote one. All you can to do is to pass client your generated by PHP HTML page... btw, you can disabe right mouse button using javascript.
Yeah javascript can disable the right click but I have found ways to crack that even. .... Yeah I figured the ASM wouldn't be able to be passed and work on a client machine .... I was just hopeful. 🙂 Cool thanks for all your input!!
I'd think if you get really creative with ActiveX, you could probably find another way to disable those two options (although it would only work for IE on PC). But otherwise, once you publish it on the 'net, its fair game.
I'm still trying to figure out how to disable a right click on a Mac...
;-)
Ash
haha ... you could unplug the mouse. 🙂
chad
It's MUCH harder to disable third mouse button - and this could be harder and harder with each next mouse button on Mac 😃
If you don't want it copied, don't display it or make it available in any form. Period! Simple!!