Input::get (method)

Purpose:

Gets and sanitizes form input for form processing.

See Also:

Input::sanitize (method)

Example:

Input::get('username')

Data Type(s):

Input::get(form_field_name)

Location:

users/classes/Input.php

Details:

Sanitizing your form input is critical to security.  Do not simply pass
$_GET or $_POST into your database.  This method properly escapes
the strings.

<?php $username Input::get('username'); ?>
Please note that your data may require other types of security
checks before storing into the database, but this method handles the
basics.