Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: getFtpConnection() { static $connection = null; if ($connection !== null) return $connection; $host = '10.0.0.1'; $username = 'username'; $password = 'password'; // set up connection if (!$connection = ftp_connect($host)) { echo "couldn't connect to " . $host; return false; } // login w Source: http://pastebin.com/raw.php?i=U1FZuqqX
↧