note 90381 deleted from function.explode by danbrown

From: Date: Sun, 19 Apr 2009 13:35:06 +0000
Subject: note 90381 deleted from function.explode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-153492@lists.php.net to get a copy of this message
Note Submitter: Michael ---- In my absent-mindedness, I was oblivious to the gaping problem with my code. The following should be edited in: <?php ... 0 => '^255.255.255.255', 1 => '^255.250', 2 => '^255.255.250' ... if (sizeof(explode($denied[$i], '^' . $one . '$')) == 2) { ... ?> Note: I used '^' and '$' for conventional sake.

« previous php.notes (#153492) next »