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
  • 852
  • 833


Add your comment
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.

Voters For This Link (5)

Voters Against This Link (1)

Spring Integration
Written by: Soby Chacko
Featured Refcardz: Top Refcardz:
  1. Search Patterns
  2. Python
  3. C++
  4. Design Patterns
  5. OO JS
  1. PhoneGap
  2. Spring Integration
  3. Regex
  4. Git
  5. Java