How to call/ execute .WSF (windows script file) from browser

818 views Asked by At

My PHP based webpage populates a set of IP addresses from database. I need to run PING command for any IP address clicked by the user from the local machine. I know its a security issue and browsers may/ should not allow such execution of 'shell commands' BUT there must be some workaround.. to get it done. Suggestions and guidance required from gurus.

1

There are 1 answers

4
Danny Beckett On

You're thinking about this wrongly. You don't need to ping from the client; do it from the server!

This question covers how to do that using PHP.

No more security headaches to worry about!