[vdr] SVDRP with PHP

Tom Tomahawk at TVCS.de
Thu Jul 21 18:29:43 CEST 2005


Try using the PHP class at

http://www.vdr-wiki.de/wiki/index.php/Svdrp-php

this one works well and why discover the wheel another time when its
already been invented.

Greetz

Tom

On Do, Juli 21, 2005 17:59, Lauri Tischler wrote:
> Been trying to connect to vdrbox with php, some luck  :(
> Following works, in vdr log the connections opened and closed.
> -----
> $fp = fsockopen ("vdr.myhome.dom", 2001, &$errnro, &$errstr, 30);
> if ($fp) { fputs ($fp, "QUIT\n"); fclose($fp); }
> -----
> Following just hangs there until timed out by vdr.
> -----
> $fp = fsockopen ("vdr.myhome.dom", 2001, &$errnro, &$errstr, 30);
> if ($fp) { fputs ($fp, "LSTC MTV\n\n"); while (!feof($fp)) { $buf =
> fgets($fp, 1024); echo $buf; }
> fputs ($fp, "QUIT\n"); fclose($fp); }
> -----
> Any hints ?
>
>
> _______________________________________________
> vdr mailing list vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>





More information about the vdr mailing list