PHP Classes

where are the builders

Recommend this page to a friend!

      Simple REST Server  >  All threads  >  where are the builders  >  (Un) Subscribe thread alerts  
Subject:where are the builders
Summary:Simple REST Server
Messages:2
Author:Joan Luci Laḅrda
Date:2015-03-18 07:49:30
 

  1. where are the builders   Reply   Report abuse  
Picture of Joan Luci Laḅrda Joan Luci Laḅrda - 2015-03-18 07:49:31
From REST/server.php you instance your server object with that instruction '$RestServer =new RestServer();' but there is no 'RestServer()' in your class simple_restserver in the REST/simple_restserver.php

The same in REST/client.php there or i suppose we have to change the instruction
'$client =new RESTClient("http://localhost:233/REST/server.php");'
with something like
'$client =new simple_restclient("http://localhost:233/REST/server.php");'

Why do you call your server on IP port :233 ?

  2. Re: where are the builders   Reply   Report abuse  
Picture of Eron Eron - 2015-12-01 11:24:30 - In reply to message 1 from Joan Luci Laḅrda
fgf