php and command line usage

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
dynamitemedia
Blank Cone
Blank Cone
Posts: 60
Joined: 15 Jul 2007 23:30

php and command line usage

Postby dynamitemedia » 01 Feb 2008 20:08

can php be used in a command line for example:

Code: Select all

--intf dummy --dummy-quiet --fullscreen --video-on-top --aspect-ratio=16:9 --deinterlace-mode=bob test.avi vlc:quit
but in its place put

Code: Select all

$video ="test.avi"; --intf dummy --dummy-quiet --fullscreen --video-on-top --aspect-ratio=16:9 --deinterlace-mode=bob $video vlc:quit
or this from a form

Code: Select all

--intf dummy --dummy-quiet --fullscreen --video-on-top --aspect-ratio=16:9 --deinterlace-mode=bob <?php echo $_POST["video"]; ?> vlc:quit

im trying to create a app that uses php and will also use command line to play the videos. it works great by just the 1st command line, but havent tried it with php yet

i want to take a form and that will launch the correct movie etc or is there a way to use php in the webplugin as well?

im gonna search thru the forums for more info, if you see some i missed please add here

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: php and command line usage

Postby revolunet » 04 Feb 2008 15:52

please read the wiki and learn how vlm works
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests