RE: php script

2012-06-10 Thread bilal kamoto
I've tried that and nothing happens just the number is being updated. i want to use what is in the text to query for data in the database and send it back to sender if it finds a match. thanks in advance Date: Sat, 9 Jun 2012 23:56:00 +0300 From: ami...@arabmobilecontent.com To:

Re: FW: error connecting to new SMSC 0x0000000d

2012-06-10 Thread spameden
smsc-username is a system-id parameter, actually there is no system-id parameter at all according to documentation: smsc-username (m) string The ’username’ of the Messaging Entity connecting to the SM-SC. If the SM-SC operator reports that the TELEPATH SYSTEM MANAGER TERMINAL view

RE: php script

2012-06-10 Thread bilal kamoto
yep managed to download going through the examples am finding it hard to comprehend am not good with codes to follow it step by step with no documentation its gonna take a while i think. i wish there was a way php and mysql... i,ve figured out one thing when i use; `bilz` ( `number`

RE: php script

2012-06-10 Thread bilal kamoto
changed it to text but am still getting the same error!. Date: Sun, 10 Jun 2012 20:03:33 +0400 Subject: Re: php script From: spame...@gmail.com To: cyberja...@gmail.com CC: bgk...@hotmail.com; users@kannel.org It's better to use message as a text type instead of varchar(50) because message

Re: php script

2012-06-10 Thread Joseph Koech
Try the following code and tell if it works: ?php define(DBHOST,localhost,true); define(DBUSERNAME,root,true); define(DBPASSWORD,,true); define(DBNAME,kannel_sms,true); function insertSms($sender,$text) { $con = 'mysql:dbname='.DBNAME.';host='.DBHOST; try { $cmd = new