From 0a14913fe54e269e535c1f66f715823fa731c843 Mon Sep 17 00:00:00 2001
From: Pascal Kriete
Date: Thu, 7 Jun 2012 16:15:51 -0400
Subject: Adding IPv6 support to the Input and Form_validation libraries.
---
user_guide/libraries/form_validation.html | 2 +-
user_guide/libraries/input.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'user_guide/libraries')
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:
valid_ip |
No |
- Returns FALSE if the supplied IP is not valid. |
+ Returns FALSE if the supplied IP is not valid. Accepts an optional parameter of "IPv4" or "IPv6" to specify an IP format. |
|
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
{
echo 'Valid';
}
-
+Accepts an optional second string parameter of "IPv4" or "IPv6" to specify an IP format. The default checks for both formats.
$this->input->user_agent()
Returns the user agent (web browser) being used by the current user. Returns FALSE if it's not available.
--
cgit v1.2.3-24-g4f1b