Mailinglisten-Archive |
Clemens Staub wrote: > if ($REMOTE_ADDR == "134.95.183.*") { ...etc if (preg_match("=134\.95\.183\.\d{1,3}=", $REMOTE_ADDR)) { print "found\n"; } if (ereg("134\.95\.183\.[:digit:]{1,3}", $REMOTE_ADDR)) { print "found\n"; } if (substr($REMOTE_ADDR, 0, 10) == "134.95.183") { print "found\n"; } if (strstr($REMOTE_ADDR, "134.95.183")) { print "found\n"; } -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.shonline.de/ (GPL)
php::bar PHP Wiki - Listenarchive