logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ach  
#1 Posted : Saturday, December 12, 2015 5:52:24 AM(UTC)
ach

Rank: Newbie

Groups: Registered
Joined: 12/12/2015(UTC)
Posts: 1

Hello,

I am developing a web interface to control Vmix remotely.

I want to get the number of Desktop opened in php.

I am using the code below but the execution time is long.

Do you have a solution ?



DomDocument $ dom = new ();
$ dom-> load ('http://192.168.0.100:8088/api/');
listeinp $ = $ dom-> getElementsByTagName ('input');
foreach ($ listeinp as $ input)
    {
     echo $ input-> nodeValue;
     if ($ input-> hasAttribute ("number")) {
     echo " - " . $ input-> getAttribute ("number");
     }
     echo "<br />";
}
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.