Manuel Pear

Net_IPv4::validateIP()

Net_IPv4::validateIP() -- Validate the syntax of the given IP adress.

Synopsis

  1. <?php
  2. require_once 'Net/IPv4.php
  3. ?> 

bool validateIP (string $ip_addr)

Description

Validates the syntax of an IP address in dot-quad format. Returns true if address is valid, false if not.

Note

Cette fonction peut être appelée de façon statique.


Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique