Starting VLC with PHP?

  • Thread starter Thread starter cramtime
  • Start date Start date
C

cramtime

Guest
I'm working on a PHP CLI script, and one of the commands is
system('"C:\Program Files\VideoLAN\VLC\vlc.exe" --started-from-file "'.$songpath.'"');
Now, I know $songpath is correct because it var_dump()s $songpath before executing the command, and it is the correct path. I've even copied and pasted the var_dump() of the entire command its supposed to execute with system() into another command prompt window and it works.
Any ideas or suggestions would seriously be appreciated.
 
Back
Top