";
echo "
";
if ($action == "")
{
echo "Please choose an option from the list below:
";
echo "Send SMS message";
echo "Send MMS message";
echo "
";
}
elseif ($action == "sms")
{
echo "Please fill in the form below to send your message:
";
echo "";
}
elseif ($action == "sendsms")
{
$message = stripslashes($message);
$message = ascii_convert($message);
$sending = http_post("www.csoft.co.uk", 80, "/webservices/http/sendsms", array("Username" => $uname, "PIN" => $pin, "SendTo" => $phone, "Message" => $message));
// $sending = http_post("www2.csoft.co.uk", 80, "/webservices/http/sendsms", array("Username" => $uname, "PIN" => $pin, "SendTo" => $phone, "Message" => $message));
}
elseif ($action == "mms")
{
echo "Please fill in the form below to send your message:
";
echo "