search for: xmlrpc_encode_request

Displaying 1 result from an estimated 1 matches for "xmlrpc_encode_request".

2007 Dec 06
3
XenApi
...ways get the same responce back, also the responce back is in html, shouldnt it be in xml format? At the moment this is my code $fp = fsockopen("unix:///var/run/xend/xen-api.sock", 0, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)\n"; } else { $request = xmlrpc_encode_request("session.login_with_password", array("root","none")); fwrite($fp, $request."\n"); while (!feof($fp)) { echo fgets($fp, 128); } fclose($fp); } When i run the code i always get this responce back... <head&gt...