Link Details

Link 1070471 thumbnail
User 1064749 avatar

By learnphp222
Published: Nov 26 2013 / 01:43

Today I am going to tell how to validate IPv4 / IP address using PHP. Simple function which will used to check client IP address is valid or not.
  • 5
  • 1
  • 964
  • 836
User 776377 avatar

lburnham123 replied ago:

0 votes Vote down Vote up Reply

All this small code snippet does is to check whether a string could syntactically be an IPv4 address. That's a far cry from "validating" anything.

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java