[vlc-devel] Re: http-Interface and PHP

PERET Pierre-Hugues ph.peret at free.fr
Sun Mar 19 08:53:45 CET 2006


With more details you can use http-handlers to use server side scripting 
(perl, php or other).
In past msg :
1. start the vlc like this:
# vlc -vvv --extraintf http --http-handlers php=/usr/bin/php -I telnet ---....

2. In yours *.php pages you have to put something like this:(your php
script must contain the header("Content-Type: text") )

<?php echo("Content-Type: text/html\n\n" ); ?>
<?php.......


Just beware of the line "Content-Type" its case sensitive.

have fun !

At 23:29 18/03/2006 +0100, Benjamin Pracht wrote:
>You defenitely should have a look at the --http-handlers option...
>
>--
>BigBen
>
>--
>This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
>To unsubscribe, please read http://developers.videolan.org/lists.html

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list