On Fri, Jan 15, 2010 at 12:55 PM, aftab hussain
<[email protected]> wrote:
>
> Dear All,
>              According to the userguide OTA can be sent as an XML document
> to the sendota utility.
>
>
> http://smsbox.host.name:13013/cgi-bin/sendota?username=foo&password=bar&to=0123456&text=MyURLEncodedXMLdocument&type=settings
>
> But how do I specify MyURLEncodedXMLdocument in PHP. Does any one have done
> similar bit, I will highly appreciate any help.

You can use the rawurlencode php function
(http://php.net/manual/en/function.rawurlencode.php).
You should encode the url of the XML file, not the file content.

BR, Jovan

Reply via email to