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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to