Tried out your code, I'm sure it will work great, but I can seem to find out why it refuses to execute.
PHP Warning: file_get_contents(http://192.168.1.6:8080/xmlrpc): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
I have m_httpd, m_xmlrpc, m_xmlrpc_main, and m_webcpanel all loaded into my config, but I cannot get it to work. I've looked on the forums and couldn't find any relevant answers. Any insight as to what I might be doing wrong? And yes,
http://192.168.1.6:8080 is the server and port anope is listening on.