BTW i am not experienced with apache, im using ubuntu(LinuX) and its allready configured from install, also im no coder.
this index page has 3 form buttons start vlc, gotto http nterface and close vlc
Code: Select all
index.html
<html>
<center>
<br><br><br><FORM METHOD="LINK" ACTION="vlc.php">
<INPUT TYPE="submit" VALUE="Start VLC">
</FORM>
<FORM METHOD="LINK" ACTION="http://youll-never-know.org:4358">
<INPUT TYPE="submit" VALUE="Gotto Remote">
</FORM>
<FORM METHOD="LINK" ACTION="closevlc.php">
<INPUT TYPE="submit" VALUE="Close VLC">
</FORM>
</center>
</html>
Code: Select all
vlc.php
<?php
system("(/usr/bin/vlc /home/spine/video --intf=http --http-host 192.168.1.100:4358 --fullscreen) >nul");
?>
Code: Select all
closevlc.php
<?php
system("(killall vlc) >nul");
?>
i also tried exec() with no luck
any help - much appreciated