preg_match

From: Date: Sat, 01 Apr 2006 04:48:08 +0000
Subject: preg_match
Groups: php.general 
Request: Send a blank email to php-general+get-233038@lists.php.net to get a copy of this message
I'm trying to check a string for ../ <?php if(preg_match("/..//i", $string)){ echo "string has ../"; } ?> Can't get it to work can anyone help?

« previous php.general (#233038) next »