Step 2: set up the database

Create a database and the "heusers" table

We need to create and set up a database where activation data will be stored. Note: all data should be stored in UTF-8 format since HTML Executable 4 handles Unicode.

1) Start phpMyAdmin on your server and create a new database. Choose the name you want or the one given by your hosting provider. Collation can be set to utf8_general_ci. In our sample, the database will be named "myheak".

data 1

2) Select your new database and click SQL SQL. Copy and paste the following SQL query:

CREATE TABLE IF NOT EXISTS `heusers` (

`userkey` varchar(80) NOT NULL,

`name` text NOT NULL,

`compname` text,

`certificate` text NOT NULL,

`email` text,

`datetime` datetime DEFAULT NULL,

`lastsystemid` varchar(12) DEFAULT NULL,

`lastip` text,

`blocked` tinyint(1) NOT NULL DEFAULT '0',

`numact` int(11) NOT NULL DEFAULT '3',

`comments` text,

`lastdeactiv` datetime DEFAULT NULL,

`lastverif` datetime DEFAULT NULL,

PRIMARY KEY (`userkey`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8;

And validate.

sql OK

Now you should have a table named "heusers":

heusers table

img Step 3: configure the mandatory settings


About

This is the online documentation of the HTML Executable Activation Kit.

About this Activation Kit

HTML Executable is an ebook compiler that lets you build secure ebooks with your websites, HTML or PDF documents. The generated ebooks can work with online activation: you can create trial or restricted versions of your ebooks, and offer them for public downloads. After purchase, customers can activate their ebook thanks to an activation code on a given number of computers only. Moreover, you can control who may read your ebook, block access at any time and authorize refunds to your customers. Everything is automated thanks to this activation kit.

Learn more about HTML Executable - Free Trial