Answer the question
In order to leave comments, you need to log in
Telnet command button in php?
Is there a working code on how to insert a button into it?
<?php
$fp = fsockopen("127.0.0.1", 1234, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "rrmix.skip \r\n";
usleep(500);
fwrite($fp, $out);
echo fread($fp, 10);
usleep(500);
$out = "quit\r\n";
fwrite($fp, $out);
echo "<br>".fread($fp, 10);
fclose($fp);
}
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question