Your documentation keeps saying to use the XML/JSON stuff you have out now. The examples always show a URL to get the data. How would you guys recommend interfacing with the WHM for WHM Pluggins? I suppose i could just do a
but that seams kinda funky.PHP Code:<?PHP $xml = file_get_contents('http://127.0.0.1:2086//xml-api/listaccts'); ?>
Also do you guys have any documentation on templates or functions that may exist to keep a WHM pluggin fitting the look and feel of the WHM theme. For example in your addon_configsupport.cgi you use defheader("Support Request Configuration"); to define a header at the top of the page.



LinkBack URL
About LinkBacks
Reply With Quote




