Hi Mike,
Thank you for the reply.
Will the script below help you?
<?php
define ('USER_ID', 1234);
define ('SERVICE_ID', 4567);
define ('SMSPAY_SERVER', '194.153.118.27');
if ($_SERVER{'REMOTE_ADDR'} == SMSPAY_SERVER) {
$sms_id = $_REQUEST{'id'};
$service_id = $_REQUEST{'sid'};
$text = $_REQUEST{'text'};
if ($service_id == SERVICE_ID) {
// This is where the script should go
echo 'All good';
} else echo '-ERR Wrong service ID!';
}
?>