I'm trying to validate an ip address using Zend_Validate_Between and i'm converting the ip to its long representation.
The issue is that I already have a validator that check for valid IPs 'Zend_Val开发者_如何学运维idate_Ip()'. Is there a way to use both ?
Thanks!
I'm kind of guessing that what you're actually trying to do is validate whether or not an IP address is on a given subnet. I'm writing a blog post on how to do that and will post it when I'm done. If that's not what you're trying to do then that post will just be a freebie. :-)
Subnet validation with Zend Framework
精彩评论