[imp] IMAP ACLs [PATCH]
    Chuck Hagenbuch 
    chuck at horde.org
       
    Tue Feb  4 16:01:36 PST 2003
    
    
  
Quoting Chris Hastie <lists at oak-wood.co.uk>:
> if (preg_match("/\W/",$pass)) {
>      $pass = addcslashes($pass, '"\\');
>      $pass = '"'.$pass.'"';
> }
You need to read docs/CODING_STANDARDS. This block should look like:
if (preg_match('/\W/', $pass)) {
    $pass = addslashes($pass, '"\\');
    $pass = '"' . $pass . '"';
}
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*
    
    
More information about the imp
mailing list