New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSCache and CWP CageFS at no extra cost with all CWPpro licences. The LSCache plugin is integrated into our WordPress and other script installers, and CWP CageFS gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Where to store data/settings

Started by erm3nda, September 18, 2014, 05:20:58 PM

Previous topic - Next topic

erm3nda

Where do i should put the data or the settings of my module.

Because the module uses external user autentication, i need to allow user to store the credentials.
A cool site is database, but i dont figure out on what table do i need to store.

Do i need to create a new table?
Can i use settings table?

Regards.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Administrator

what kind of settings/date you need to store ?

erm3nda

Basically the freedns manager credentials to avoid ask everytime.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Administrator

freedns is NOT part of the CWP installation, this are standalone DNS servers.
http://freedns.centos-webpanel.com

erm3nda

#4
Im sorry.

Im the guy building freedns connector PLUGIN between cwp and freedns.
The idea is to auto-sync custom dns entries from local "named" to the freedns system, commit them.

I think deeply on that, im sure the database is the safest way to store such credentials. Don't?

Even if freedns is not part of, is a perfect pair for CWP on single IP hostings, also a good service even if you can run your own dns.

Regards.

EDITED: I've deciced to put it on database, also editable.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.