http://book.cakephp.org/view/142/ip
is a little bit outdated
"ip" does validate BOTH by default!
var $validate = array(
'clientip' => array(
'rule' => 'ip',
'message' => 'Please supply a valid IP address.'
)
);
but Validation::ip($check, 'ipv6') would only validate pure v6 ips
On 9 Jun., 12:50, emanuele <[email protected]> wrote:
> Hello fellows, is there any chance to validate an IP v6? Can u please give
> some hint?
> thanks in advance
>
> --
> Emanuele Gringeri
> Computer Engineer
> University of Pisa
> Be my mirror, my sword and shield
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en