SVDRP with PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux