Need help in send some value through a URL for send SMS
Hi!
I would like to send SMS from our site through a company's server who has tha protocol installed on their server. they have provided me a php script and html page coding i have tried them but its not working.(giving parse error on line no.3)
The basic work is, its should take all from data and pass(redirect) the data in to there site from our site in form of query string as follows:
if (isset($_REQUEST['phone'])) {
if (isset($_REQUEST['text'])) {
if (isset($_REQUEST['sender'])) {
$x = SendSMS("66.36.229.70", 8800, "XXXXX", "XXXXX", $_REQUEST['phone'], $_REQUEST['text'], $_REQUEST['sender']);
echo $x;
}
else {
echo "ERROR : Message not sent -- Text parameter is missing!\r\n";
}
}
else {
echo "ERROR : Message not sent -- Phone parameter is missing!\r\n";
}
}
else {
echo "ERROR : Message not sent -- Sender parameter is missing!\r\n";
}
?>
Also they can't help us any technical help regarding php.
If anyone can tell me what to do take to work it properly.
Thanks in advance.
Last edited by nico_swd; 09-11-06 at 11:57 AM.
Reason: Please use PHP wrappers when posting php code.