Good Morning,

I have configured kannel as sms gateway. Push and pull message work properly. 
I want to set a service which give the signification of a name sent by 
the user. When the user send his name, kannel will send him automatically the 
meaning of his name.
  
keyword=prenom
get-url=http://localhost/prenom.php?prenom=%s

In the code prenom.php, i have set an array which contain just to names:prenom1 
and prenom2 with their significations signif1 and signif2.

The problem : as reply, kannel send this message "Result could not be 
represented as an sms message"

Here is the php code prenom.php

<?php 
 $List_pren=array('prenom1'=>'signif1','prenom2'=>'signif2');
 
if(isset($_REQUEST['prenom']) 

{
 echo $List_pren[$_REQUEST['prenom']];
}

?>

Please i need help

 Rodrigue


      

Reply via email to