Ozeki PHP Plugin

<?php
$gatewayURL = 'http://192.168.1.100:9333/ozeki?';
$request = 'login=sendmail';
$request .= '&password=mypassword';
$request .= '&action=sendMessage';
$request .= '&messageType=SMS:TEXT';
$request .= '&recepient='.urlencode('01711673093');
$request .= '&messageData='.urlencode("PHP Hello World");

$url = $gatewayURL . $request;

//Open the URL to send the message
file($url);
?>
Share

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.