HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   Internal API (http://www.howtoforge.com/forums/showthread.php?t=55829)

Blackbit 19th January 2012 08:14

Internal API
 
Hi all,

i'm programming an interface to install wordpress on a chosen site. So i need to call the creation functions of FTP-User, MySQL-User and Jailkit from another module. How i can use/call the internal modules for this? I dont think its a good way to call the remote API (remoting.php) from inside...

Blackbit 19th January 2012 08:16

Quote:

Originally Posted by Blackbit (Post 271869)
Hi all,

i'm programming an interface to install wordpress on a chosen site. So i need to call the creation functions of FTP-User, MySQL-User and Jailkit from another module. How i can use/call the internal modules for this? I dont think its a good way to call the remote API (remoting.php) from inside...

Sorry, was meant to be in ISPconfig 3... Got here by another search ;)

till 19th January 2012 10:05

Use the datalogInsert(....) and datalogUpdate(...) of the mysql library to insert new records to the ftp, db and shell user databases.


All times are GMT +2. The time now is 21:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.