Re: XML-RPC authentication
From: Daniel Tryba (spam_at_tryba.invalid)
Date: 12/17/04
- Next message: mark: "Re: massive email"
- Previous message: jsw_nz: "PHP communicating to a COM object"
- In reply to: escalation746: "XML-RPC authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Dec 2004 22:26:40 GMT
escalation746 <escalation746@yahoo.com> wrote:
> What I'd like to be able to do (at minimum) is:
> a) support 8-bit ASCII
What is 8 bit ASCII?
> b) support some sort of proper authentication, so not just any client
> can get data from the server
>
> XML-RPC does neither out of the box, but it shouldn't be too difficult
> to graft these on.
Huh! XMLRPC should by the fact that it is XML support UTF8...
RPC.php:
...
$parser = xml_parser_create($XML_RPC_defencoding);
...
http://nl3.php.net/xml_parser_create :
The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.
So it does support characters outside of 7bit ascii. But above code
sucks bigtime since all XML will be parsed as $XML_RPC_defencoding
(UTF-8): _BUG_
And to authenitcation: a sessionid. If request doesn't contain a (valid)
sessiondID, deny request. Client should get an ID first.
- Next message: mark: "Re: massive email"
- Previous message: jsw_nz: "PHP communicating to a COM object"
- In reply to: escalation746: "XML-RPC authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|