PHP - Accessing and sending data to process -



PHP - Accessing and sending data to process -

i've been programming little client-server-application , want show output of server-process in little server-webpage. everytime, press key in server-console, current state output. assuming, server running , want show current state of server, how implement in php?

my thoughts process , send key input. how implement in php? server running on debian 6 apache , php 5.4.

thanks in advance

depend on how simple want go: the simplest simulate call. example, client calls fopen('http://server.example.com/status.php?server=myserver&stats=uptime'); , @ server level, @ $_get['server'] , $_get['uptime'] . can utilize method , add together authentication either passing credentials variable. output can either plain html or json encoded use xml rpc or soap

php cross-process

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -