1. Toby Davies
  2. trivial-remote-objects

Commits

Toby Davies  committed 03063ec

added template for a php server

  • Participants
  • Parent commits 1762739
  • Branches default

Comments (0)

Files changed (1)

File php/ObjectServer.php

View file
  • Ignore whitespace
+<?
+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);
+  
+