XML_RPC
$client = new XML_RPC_client($xmlrpc, $host, 80);
$message = new XML_RPC_Message(
"metaWeblog.newPost",
array(
new XML_RPC_Value(1, "string"),
new XML_RPC_Value($user, "string"),
new XML_RPC_Value($pass, "string"),
new XML_RPC_Value(
array(
"title" => new XML_RPC_Value($vItemName, 'string'),
"description" => new XML_RPC_Value($description, 'string'),
"dateCreated" => new XML_RPC_Value("", 'string')
),
"struct"
),
new XML_RPC_Value(1, "boolean")
)
);$response = $client->send($message);