CodeIgniter Forums
Regex valid ip - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Regex valid ip (/showthread.php?tid=20847)

Pages: 1 2


Regex valid ip - El Forum - 07-24-2009

[eluser]Twisted1919[/eluser]
You can call it that way too .
Someone wants to see that can be done just with regex and i told that this can be done , regex is powerfull enough for this .
Using php beside regex is way too simple to validate the ip address .


Regex valid ip - El Forum - 07-24-2009

[eluser]slowgary[/eluser]
Yes, so simple that it should never be done that way. I recommend using nanoparticles to detect invalid IP addresses, it's by far the most environmentally friendly method. ;-P

Thanks guys for sharing your knowledge, have a great weekend!! (can't you tell I'm going out of town?)