diff options
author | Pascal Kriete <pascal@pascalkriete.com> | 2012-06-07 22:15:51 +0200 |
---|---|---|
committer | Pascal Kriete <pascal@pascalkriete.com> | 2012-06-07 22:15:51 +0200 |
commit | 0a14913fe54e269e535c1f66f715823fa731c843 (patch) | |
tree | a8668d5d82d176edbd41be954359145dd59869e4 /user_guide | |
parent | 044809b12475da3ff03e8e7113dd7f443e101481 (diff) |
Adding IPv6 support to the Input and Form_validation libraries.
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/libraries/form_validation.html | 2 | ||||
-rw-r--r-- | user_guide/libraries/input.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/form_validation.html b/user_guide/libraries/form_validation.html index 2028bcd2c..f13ece0d7 100644 --- a/user_guide/libraries/form_validation.html +++ b/user_guide/libraries/form_validation.html @@ -1058,7 +1058,7 @@ POST array:</p> <tr> <td class="td"><strong>valid_ip</strong></td> <td class="td">No</td> - <td class="td">Returns FALSE if the supplied IP is not valid.</td> + <td class="td">Returns FALSE if the supplied IP is not valid. Accepts an optional parameter of "IPv4" or "IPv6" to specify an IP format.</td> <td class="td"> </td> </tr> diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html index 10c84a9ea..c69be891e 100644 --- a/user_guide/libraries/input.html +++ b/user_guide/libraries/input.html @@ -248,7 +248,7 @@ else<br /> {<br /> echo 'Valid';<br /> }</code> - +<p>Accepts an optional second string parameter of "IPv4" or "IPv6" to specify an IP format. The default checks for both formats.</p> <h2>$this->input->user_agent()</h2> <p>Returns the user agent (web browser) being used by the current user. Returns FALSE if it's not available.</p> |