forked from adampatterson/Tentacle
-
Notifications
You must be signed in to change notification settings - Fork 1
Input
Adam Patterson edited this page Dec 18, 2012
·
1 revision
Dingo has built in functions for accessing HTML form and cookie data. You can still use $_POST
, $_GET
, $_COOKIE
, $_REQUEST
, and $_FILES
in your applications but it is highly recommended that you don't. The input class is always avaliable to use in your applications and does not have to be loaded.
$data = input::post('param');
$data = input::get('param');
$data = input::cookie('param');
$data = input::request('param');
$data = input::files('param');