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
  • 941
  • 834


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)

Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax