Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/html/ |
Upload File : |
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF8"> <title>SISKOM Digital HTTP API Test Script</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script type="text/javascript"> <!-- function submitRequest() { var $host = document.getElementById("host").value; var $port = document.getElementById("port").value; var $username = document.getElementById("gw-username").value; var $password = document.getElementById("gw-password").value; var $from = document.getElementById("gw-from").value; var $to = document.getElementById("gw-to").value; var $text = document.getElementById("gw-text").value; document.frmSubmit.action = "http://"+$host+":"+$port+"/cgi-bin/sendsms"; document.frmSubmit.submit(); } // --> </script> </head> <body> <h1>SISKOM Digital HTTP API Test Script</h1><h2>This Script is only for testing</h2> <form id="frmSubmit" name="frmSubmit" method="post"> <table> <tbody> <tr> <td>URL Or IP Address:</td> <td> <input name="host" id="host" value="gateway.siskomdigital.com" type="text"> </td> </tr> <tr> <td>Port : </td> <td> <input name="port" id="port" value="12010" type="text"> </td> </tr> <tr> <td>Username:</td> <td> <input name="gw-username" id="gw-username" value="oky18003" type="text"> </td> </tr> <tr> <td>Password:</td> <td> <input name="gw-password" id="gw-password" value="1qa2ws4r" type="password"> </td> </tr> <tr> <td>From:</td> <td> <input name="gw-from" id="gw-from" value=""> </td> </tr> <tr> <td>To:</td> <td> <input name="gw-to" id="gw-to" value=""> </td> </tr> <tr> <td valign="top">Message:</td> <td> <textarea name="gw-text" id="gw-text" style="margin: 0px; width: 277px; height: 178px;"></textarea> </td> </tr> <tr> <td> <input type="button" value="Send SMS" onclick="submitRequest();"> </td> </tr> </tbody> </table> </form> </body> </html>