trq Posted February 24, 2010 Share Posted February 24, 2010 I'm not sure you would be able to execute (open) desktop applications, but command line apps should execute fine. I'm not a windows user, but you would likely need to grant your server permissions to access the desktop somehow. Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017212 Share on other sites More sharing options...
Deoctor Posted February 24, 2010 Share Posted February 24, 2010 i gave full permissions though to C and d drives for everyone.. but still no luckk.. any one else had any luck opening an application using php.. Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017216 Share on other sites More sharing options...
trq Posted February 24, 2010 Share Posted February 24, 2010 As I said. Your servers process will not have sufficient permissions to execute anything on the desktop. Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017217 Share on other sites More sharing options...
Deoctor Posted February 24, 2010 Share Posted February 24, 2010 i am running it on my local machine and i am using this as an administrator..could not able to figure out what services more are required. i gave permissions to all the items in drives to everyone, what services else do u mean?? Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017219 Share on other sites More sharing options...
trq Posted February 24, 2010 Share Posted February 24, 2010 I don't think its possible on windows is what I'm saying. Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017229 Share on other sites More sharing options...
Deoctor Posted February 24, 2010 Share Posted February 24, 2010 k 10q for your help Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017232 Share on other sites More sharing options...
trq Posted February 24, 2010 Share Posted February 24, 2010 k 10q Pardon? Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017235 Share on other sites More sharing options...
Deoctor Posted February 24, 2010 Share Posted February 24, 2010 i meant itz okay thank you for your help Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017241 Share on other sites More sharing options...
Mchl Posted February 24, 2010 Share Posted February 24, 2010 k 10q Pardon? ten 'kyu' -> thank you ... i guess Quote Link to comment https://forums.phpfreaks.com/topic/193036-how-to-execute-windows-commands-in-php/page/2/#findComment-1017268 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.