Page 1 of 1
php doubt
Posted: Mon Jul 18, 2011 1:50 pm
by tempuser
Can anyone help me out on this ??
How can i open windows command prompt from a web-page that runs with php script??
Re: php doubt
Posted: Mon Jul 18, 2011 3:10 pm
by oscardog
You can't. No web-based will do that.
Re: php doubt
Posted: Mon Jul 18, 2011 3:38 pm
by McInfo
You can run commands on the server with
program execution functions, but the browser does not allow that kind of access to the client machine. Even if it did, anything happening on the client is beyond the scope of PHP running on the server.
Re: php doubt
Posted: Mon Jul 18, 2011 8:04 pm
by beetree
tempuser wrote:Can anyone help me out on this ??
How can i open windows command prompt from a web-page that runs with php script??
If you want to open a command prompt on the client side, it is impossible without any .NET or other implementations.
However, if you want to open up a command prompt on the _server side_ you could do that with system(), php.net/system.
/beetree