Thread: Resolved Just exec and don't output.
View Single Post
Old 01-12-2013, 02:33 AM   PM User | #1
sorlaker
Regular Coder

 
Join Date: Dec 2009
Posts: 166
Thanks: 23
Thanked 1 Time in 1 Post
sorlaker has a little shameless behaviour in the past
Just exec and don't output.

How to use php exec() function to open in my OS not in the browser.

I'm using this code :

PHP Code:
<?php
   exec
('"C:\Program Files (x86)\The KMPlayer\KMPlayer.exe" "C:\Wildlife.wmv"');
?>
what i'm trying is to make kmplayer open this video. but seems like it wants to output it at the browser. how can i make it open kmplayer at my screen?

Last edited by sorlaker; 01-12-2013 at 09:50 PM..
sorlaker is offline   Reply With Quote