Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
securitytoken.php
Go to the documentation of this file.
1 <?php
11 $ts = time();
13 
14 echo elgg_view('input/hidden', array('name' => '__elgg_token', 'value' => $token));
15 echo elgg_view('input/hidden', array('name' => '__elgg_ts', 'value' => $ts));
generate_action_token($timestamp)
Generate an action token.
Definition: actions.php:166
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
$token