Mecha CMS

Basic security.

Guardian::token()

Generate unique token and save it to session.

1.0.02.0.02.2.0static
Guardian::token($id = 0);

Example:

<input name="token" type="hidden" value="<?php echo Guardian::token(); ?>">