JayD83 Posted November 5, 2010 Share Posted November 5, 2010 Hey guys I usually code in C and I started looking into PHP which I think is pretty good. I'm wondering if there's a function that can be used to execute a command from a remote server on my local machine??? As example if I'd like to have a PHP page/script running on my server which when logged onto would display me a page with buttons like "PING, NETSTAT, IPCONFIG, TRACERT" and when clicked on it would exec those commands but not on the server but from my machine??? So that I would get the PING from my local machine to google.com instead of from the server to google.com ??? making any sense ??? thx Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted November 5, 2010 Share Posted November 5, 2010 Can't be done using PHP. PHP runs on the server and doesn't even know about the local environment unless it's told by some program running on the client. Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.