1. Toby Davies
  2. trivial-remote-objects

Source

trivial-remote-objects / php / ObjectServer.php

<?
include_once "autoload.php";


list($empty,$cls,$id)=explode('/',$_SERVER['PATH_INFO']);
if(! isset($_GET['obj_cls']) ){
  $_GET['obj_cls']=$cls;
  $_GET['obj_id']=$id;
}
ob_start();
RPC::serve(null);