Re: How do I display linefeeds in message (PHP)?

2008-04-08 Thread Juan Nin
again... have you tried chr(13)??? On Tue, Apr 8, 2008 at 2:28 AM, Bogus Bill [EMAIL PROTECTED] wrote: Just to clarify, I'm trying to imbed a linefeed in the message on the mobile phone. I've also tried to hard-code a newline in a test service, using the text variable, but apparently

Re: How do I display linefeeds in message (PHP)?

2008-04-08 Thread Bogus Bill
Juan Nin wrote: again... have you tried chr(13)??? Yes, I have. That didn't work either. One problem I discovered thanks to Kevin was that I was formatting my response using HTML. I stripped out all the HTML, leaving just text. When I run the page from a browser and look at the

Re: How do I display linefeeds in message (PHP)?

2008-04-08 Thread Alejandro Guerrieri
Try with %0D Regards, Alejandro On Tue, Apr 8, 2008 at 2:07 PM, Bogus Bill [EMAIL PROTECTED] wrote: Juan Nin wrote: again... have you tried chr(13)??? Yes, I have. That didn't work either. One problem I discovered thanks to Kevin was that I was formatting my response using

Re: How do I display linefeeds in message (PHP)?

2008-04-08 Thread Kevin Reed
Not sure if it makes a difference, but he is using get-url to get the contents of a webpage that is outputting linefeeds. The setup is something like: group = sms-service keyword = test get-url = http://website/getcommands.php; The result which is sent to the phone, doesn't have any

Re: How do I display linefeeds in message (PHP)?

2008-04-08 Thread Alejandro Guerrieri
Maybe he needs to do two nested urlencodes: urlencode( urlencode( Hello\nWorld ) ) because the first url-encoding gets decoded by Kannel? Shouldn't be neccesary, but wouldn't hurt to try ;) Regards, Alejandro On Tue, Apr 8, 2008 at 4:14 PM, Kevin Reed [EMAIL PROTECTED] wrote: Not sure if it

Re: How do I display linefeeds in message (PHP)?

2008-04-08 Thread Kevin Reed
The url (script) is not using urlencode at all since it is just outputting text as it is called by the webserver. If you add urlencode to what it is going to output, on the web page you get urlencoded output which is of no use and the phone gets basically gibberish. In addition to that, it would

Re: How do I display linefeeds in message (PHP)?

2008-04-08 Thread Mike Nwaogu
Hello Kevin, I hope this helps; include a command in your php script to send messages to kannel using command line or http which ever suits your fancy. Unless, you have some reason why you want to only send the output of the php script, I think this will sort you out. Regards, Mike Nwaogu

Dlr+dlr-url

2008-04-08 Thread nemam pojma
Hello Is it possible to configure bearbox and sqlbox in that way,when delivery reports came in,and inserted into dlr table to leave them there,not trying to send them via 'dlr-url' function ,just to leave them as they are in dlr table ? Sincerely Dragan --