Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: $host = 'localhost'; #my $host = 'book-demon.com'; my $username = 'bookdb'; my $password = 'hailmars'; my $base_url; if ($host eq 'localhost') { $base_url = 'http://www.book-demon.com/assets/gutenberg/'; } else { $username = 'james'; $password = 'hailmars'; $base_url = 'http://www.book-demon.com/assets/gutenberg/inventory/'; } my $dbh = DBI->connect("DBI:mysql:database=bookdemo_db;host=$host",$username,$password) || die "Could not connect to database: $DBI:errstr"; […]
↧