This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// WordPress database connection test usingo mysqli | |
// Enable all messages | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); | |
$conn = mysqli_connect('localhost', 'username', 'password'); | |
mysqli_select_db($conn, "my_wordpress_database"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### DNS server to check in whois result | |
server="ns1.mydomain.com" | |
### If will get by ls in folder | |
zones="/var/cache/bind/" | |
### One per line | |
zone_list="/var/cache/bind/domains.txt" | |
### Comment to use ls based |