Softaculous


Topic : ideas for requiring a 'signup code' for installations?


Posted By: omni on October 11, 2014, 1:32 am
Hello,

I've put together a custom auto-installer for softaculous, and I'm wondering if anyone has any ideas for how to require a secret key in order for customers to do the installation. Starting with one key for all installations i.e. 543789 can be used unlimited times as key to do install.

Thanks in advance,
Omni

Posted By: Brijesh on October 17, 2014, 11:32 am | Post: 1
Hi,

Add a new field (input tag) in install.xml :
http://www.softaculous.com/docs/Making_Custom_Package#2._install.xml

and then write a code in install.php __install() function to verify the code. You can use $_POST or $_REQUEST variables to get the value posted by user.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.