Location: PHPKode > projects > Simple SMS Site Software > simple-sms-site-software/delrep.php
<?php
/******************************************************************************
************** Simple SMS Site Software *********************************
************** SSSSv1.0*****************************************************
************** by (aq) limited http://aql.com *******************************
************** All Rights Reserved ******************************************
************** Please read COPYRIGHT file prior to modification********
********************************************************************************/

include("inc/header.inc.php");

$repcode = $_GET['reportcode'];
$destno = $_GET['destinationnumber'];
$ref = $_GET['myreference'];

$query  = "INSERT INTO `delrep` ( `reportcode` , `destinationnum`, `reference` ) VALUES ( '$repcode', '$destno', '$ref' )";
$result = mysql_query($query);

if (!$result) {
   echo 'Could not run query: ' . mysql_error();
   exit;
}
?>
<html>
	<head>
		<meta http-equiv="Content-Language" content="en-gb">
		<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
		<title>aql.com SMS, wap push and credit check - Delivery Report Summary</title>
	</head>
	<p align="center">Report code : <?echo $repcode?></p>
	<p align="center">Destination : <?echo $destno?></p>
	<p align="center">---</p>
	<p align="center">Delivery Report Codes</p>
	<p align="center">---</p>
	<p align="center">1 = Delivered to Handset</p>
	<p align="center">2 = Rejected from Handset</p>
	<p align="center">4 = Buffered in transit (phone probably off / out of reception)</p>
	<p align="center">8 = Accepted by SMSC</p>
	<p align="center">16 = Rejected by SMSC</p>
</html>
<?
include("inc/footer.inc.php");
?>
Return current item: Simple SMS Site Software