Skip to content

Instantly share code, notes, and snippets.

@blar
Created February 10, 2014 17:33
Show Gist options
  • Select an option

  • Save blar/8920477 to your computer and use it in GitHub Desktop.

Select an option

Save blar/8920477 to your computer and use it in GitHub Desktop.
<?php
$arguments = xmlrpc_decode_request($xml, $method);
switch($method) {
case 'get_topic':
$_GET['forum_id'] = $arguments[0];
$_GET['start_num'] = $arguments[1];
$_GET['last_num'] = $arguments[2];
$_GET['mode'] = $arguments[3];
break;
}
$method();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment