July 19, 201015 yr Tom, I was creating a simple app to return MdCmd status, so you could do something like: http://tower/Utils/MdCmd?cmd=status and have it return a text header and just the text "OK" via php (or whatever the status is). But the way the plugins are handled, the server wraps the header and other HTML around the output. What would be useful is a "raw" mode for a plugin, so that a plugin has more control over what it returns to the client. Alternatively, we are back to either installing a web server like lighttpd or using a respawned awk pseudo-daemon.
July 20, 201015 yr Author Tom posted in another thread that you can call php code directly by including the file extension on the URL, so http://tower/Utils/MdCmd.php?cmd=status Will run the php code like a regular web server. But that way, there is no access to the php vars related to the array/server status. Tom, is there possible some include we can add to our php code that would provide those arrays?
July 20, 201015 yr Author Yup! For some reason I couldn't find this post... I couldn't remember which thread it was in!
Archived
This topic is now archived and is closed to further replies.