Project Documentation

Core Boxx – Users Module

INTRODUCTION This is a simple user’s module for Core Boxx, it is actually a “package of 3 components”: Session – Not the “traditional” PHP $_SESSION, but JSON Web Token to also support mobile apps. User – User registration, login, and logout. Forgot password recovery.   LICENSE & DOWNLOAD Core Boxx is released under the MIT …

Core Boxx – Users Module Read More »

Core Boxx – Database Library Reference

NOTES Database settings are kept in lib/Core-Config.php. MYSQL PDO extension is required. You can always rewrite the entire database module to work with other databases – It’s PDO after all.   CONNECT & DISCONNECT function __construct() Connects to the database when the object is created. function __destruct() Closes the database connection when done.   AUTO …

Core Boxx – Database Library Reference Read More »

Core Boxx – Core Library Reference

MODULES function load($module) Loads lib/LIB-$module.php, and extends it to $_CORE->$module = new $module(); $module – String, module to load. $_CORE->load(“Users”); function loaded($module) Checks if the specified $module is loaded. $module – String, module to check. if ($_CORE->loaded(“Users”)) { … }   FUNCTION MAPPING function autoCall($module, $function, $mode) Automatically map POST or GET variables to the …

Core Boxx – Core Library Reference Read More »

Core Boxx – Mail Pagination Settings Library Reference

NOTES Change EMAIL_FROM in the settings database table if you want to change the “email from”. The mail library uses the default PHP mail(). Feel free to rebuild the entire library if you want to use other libraries such as PHPMailer.   BASIC SEND MAIL $_CORE->load(“Mail”); echo $_CORE->Mail->send([ “from” => “sys@site.com”, “to” => “job@doe.com”, “cc” …

Core Boxx – Mail Pagination Settings Library Reference Read More »