diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-04-01 12:40:09 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-04-01 12:40:09 +0200 |
commit | a36f637f8c632fc0bb3c0baeea167c48167a1868 (patch) | |
tree | bc8a992c582f62ef063274a47e909f00d5335874 /user_guide/libraries/input.html | |
parent | a955803ba49ca0b58c3634f800962ca49068ea81 (diff) | |
parent | 3c6e4851451cd62b02980821cccdd93290463795 (diff) |
Merged changes.
Diffstat (limited to 'user_guide/libraries/input.html')
-rw-r--r-- | user_guide/libraries/input.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html index 479e71bf7..d7e898bd1 100644 --- a/user_guide/libraries/input.html +++ b/user_guide/libraries/input.html @@ -217,17 +217,17 @@ zero the cookie will only last as long as the browser is open.</p> <code>$this->input->set_cookie($name, $value, $expire, $domain, $path, $prefix, $secure);</code> -<h2>$this->input->get_cookie()</h2> +<h2>$this->input->cookie()</h2> <p>Lets you fetch a cookie. The first parameter will contain the name of the cookie you are looking for (including any prefixes):</p> -<code>get_cookie('some_cookie');</code> +<code>cookie('some_cookie');</code> <p>The function returns FALSE (boolean) if the item you are attempting to retrieve does not exist.</p> <p>The second optional parameter lets you run the data through the XSS filter. It's enabled by setting the second parameter to boolean TRUE;</p> -<p><code>get_cookie('some_cookie', TRUE);</code></p> +<p><code>cookie('some_cookie', TRUE);</code></p> <h2>$this->input->ip_address()</h2> |