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.