Commits

Toby Davies committed 03063ec

added template for a php server

Comments (0)

Files changed (1)

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);
+  
+