The following code segfaults some older (pre 5.1.2) versions of PHP:
$foo = date('c', time());
xmlrpc_set_type($foo, 'datetime');
Please upgrade before reporting as a bug.
![]() |
|
||||||||||
|
xmlrpc_set_type(PHP 4 >= 4.1.0, PHP 5) xmlrpc_set_type -- Sets xmlrpc type, base64 or datetime, for a PHP string valueОписаниеbool xmlrpc_set_type ( string &value, string type )
xmlrpc_set_type
bmatheny at mobocracy dot net
24-Mar-2006 03:08
The following code segfaults some older (pre 5.1.2) versions of PHP:
ncuxxx at gmail dot com
22-Dec-2005 12:59
I write tutorial.
shem((at))etkDOTca [aka.Przemyslaw Szot]
30-Oct-2004 02:23
Once you use the xmlrpc_set_type function, the data is encoded into a PHP object. In your XMLRPC server, in order to access the data you must be able to access the necessary part of the object.
kelly at seankelly dot biz
28-Dec-2002 07:53
The problem is that PHP has a string type which is also used to hold binary data and dates. But XML-RPC defines three separate types for strings, binary data, and dates. How do you tell how you want strings encoded? That's where this function comes in. |