Amritesh,
I think you have a php problem not a kannel problem!!
Try using curl.
On Jul 20, 2009, at 12:13 PM, Amritesh Rachelwar wrote:
Dear,
Hi I am trying to send sms to a perticular no using my php script
but it is not sending sms to any no....
my script is as following in /var/www/html...
<html>
<body>
<?php
echo "Hello World";
$URL = http://10.100.100.199:12345/cgi-bin/sendsms?username=abcd&password=wxyz&from=Amritesh&to=919423087634&text=Hi
;
?>
</body>
</html>
when i am runnig it with
elinks -dump "http://localhost:80/test.php"
it gives out put only
Hello World
I have kannel running and if i run
elinks -dump "http://10.100.100.199:12345/cgi-bin/sendsms?username=abcd&password=xyz&from=SMSC-WZ&to=919423087634&text=Hi
"
then i am able to send sms...
Thanks and Regards
Amritesh Deepak Rachelwar
JTO (Mobile)
SMSC,Pune
Simon Peter Otandeka,
IT Department,
SMS Media Ltd.
Mob: +256 782 801124
Office: +256 312 261168
skype:sotandeka
"So often times it happens that we live our lives in chains
And we never even know we have the key"