Hi,<br><br>Is there any way that I can store my manager API output that is:<br>My question is that is there any why using that I can get the QueueStatus and store the result in some text file for further processing.<br><br>
<?php<br><br> $strHost = "<a href="http://127.0.0.1">127.0.0.1</a>";<br> $strUser = "cron";<br> $strSecret = "1234";<br>
<br> $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed");<br><br> fputs($oSocket, "Action: Login\r\n");
<br> fputs($oSocket, "Username: $strUser\r\n");<br> fputs($oSocket, "Secret: $strSecret\r\n\r\n");<br> fputs($oSocket, "Action: QueueStatus\r\n\r\n");
<br> fputs($oSocket, "Action: Logoff\r\n\r\n");<br> fclose($oSocket);<br><br>?><br><br>thanks<br><br>arun<br>