Title: Re: Result could not be represented as an sms message

Hello Têvi,


first make sure your php script works by calling it directly.


In this case you're missing a second closing bracket:


if(isset($_REQUEST['prenom']) 


should be:


if(isset($_REQUEST['prenom']))


Monday, September 8, 2008, 5:27:55 PM, you wrote:


>

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="">

 

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





-- 

Best regards,

 Thomas                            mailto:[EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to