PHP Classes

Call a function with a socket connection: How to call a PHP function using a socket connection

Recommend this page to a friend!
  All requests RSS feed  >  Call a function with a socket connection  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Call a function with a socket connection

Edit

Picture of Sandeep Kumar by Sandeep Kumar - 8 years ago (2016-02-12)

How to call a PHP function using a socket connection

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I want to know if it possible that, one create multiple function in server.php script and a particular function can be called from client side.

Like if I have a login() and userDetails() functions.

How can a user call only Login function?

Ask clarification

1 Recommendation

PHP API Server Builder: Build a REST server API from custom classes

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 23770 - 8 years ago (2016-02-19) Comment

There is for instance this class that can handle requests and maps calls to custom classes with the functions that you want to call from the client side.


Recommend package
: 
: