PHP Running Apps

Posted by Goldfiles, 09-09-2008, 09:31 PM
I have a dedicated LAMP server at my house for personal use. I'd like to write a PHP script that will run a .exe file on my server's desktop. For example, if I run script.php, I may want it to open a game of solitaire on my server's desktop. Does anyone know of any tutorials or references to get me started?

Posted by meb124, 09-09-2008, 11:26 PM
try (in php) something like; exec("c:\windows\system32\sol.exe"); word of caution....be careful with scripts that use the command line, you could be opening up a world of security problems, et cetera, on a web server.

Posted by shellcrash, 09-10-2008, 05:00 PM
Definitely consider the security implications. PHP and the command line needs some caution.

Was this answer helpful?

 Print this Article

Also Read

how to install shared ssl in cpanel server

Posted by yajur, 04-19-2009, 01:36 PMhow to install shared ssl in cpanel server any tutio or...

control panel

Posted by aming, 09-04-2002, 04:34 PMcan anyone tell me if there is any reseller control panel...

PHP or ASP.NET

Posted by 3DProf4online, 08-27-2008, 07:56 AMHaving found out that Linux hosting is ordered for...

Disallow a site from sending out emails

Posted by HappyPike, 05-04-2007, 12:51 AMHi, Is there a way to disallow a certain site from...

Possible hard drive failure

Posted by howsthat, 01-12-2008, 01:49 PMI am getting this error on my mail from cpanel...