On Mon, Sep 22, 2008 at 8:07 PM, naj <[EMAIL PROTECTED]> wrote: > How would go about solving this? I know I need to urldecode it, but > how?. If I use a script, how would I call it in the post-url?
I did quick url decoding of the received data: 35702300;$GPGGA,000243.000,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,0.0,0001 35702300;$GPRMC,000243.000,V,0000.0000,N,00000.0000,E,,,060180,, It seeems that is ascii data ;) Depending on the programming language you should be able to url decode the contents of the message. If really must use post-url, find a way to get the raw post data (in php there is a variable $GLOBALS['HTTP_RAW_POST_DATA']) this method is usually used to get contents of a file, xml for example. Try using the get-url parameter in the sms-service configuration its much simpler and cleaner ;) get-url=http://localhost:13000/getsms.php?text=%a then in your script you can use $_GET['text'] in php to get the contents if you are using php than you can get the sms text decoded like this: $text = rawurldecode($_GET['text']); HTH, Jovan
