Server IP : 149.255.58.128 / Your IP : 3.21.186.117
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /var/softaculous/wp49//check_charset.php
<?php
function __has_cap(){
global $use_mysqli;
$use_mysqli = false;
if ( function_exists( 'mysqli_connect' ) ) {
if ( version_compare( phpversion(), '5.5', '>=' ) || ! function_exists( 'mysql_connect' ) ) {
$use_mysqli = true;
} elseif ( false !== strpos( '[[wpver]]', '-' ) ) {
$use_mysqli = true;
}
}
$version = __db_version();
if ( version_compare( $version, '5.5.3', '<' ) ) {
return false;
}
if ( $use_mysqli ) {
$client_version = mysqli_get_client_info();
} else {
$client_version = mysql_get_client_info();
}
/*
* libmysql has supported utf8mb4 since 5.5.3, same as the MySQL server.
* mysqlnd has supported utf8mb4 since 5.0.9.
*/
if ( false !== strpos( $client_version, 'mysqlnd' ) ) {
$client_version = preg_replace( '/^\D+([\d.]+).*/', '$1', $client_version );
return version_compare( $client_version, '5.0.9', '>=' );
} else {
return version_compare( $client_version, '5.5.3', '>=' );
}
return false;
}
function __db_version() {
global $use_mysqli;
if ( $use_mysqli ) {
$server_info = mysqli_get_server_info( mysqli_connect("[[softdbhost]]","[[softdbuser]]","[[softdbpass]]","[[softdb]]"));
} else {
$server_info = mysql_get_server_info( mysql_connect("[[softdbhost]]","[[softdbuser]]","[[softdbpass]]","[[softdb]]"));
}
return preg_replace( '/[^0-9.].*/', '', $server_info );
}
$has_cap = __has_cap();
// To determine which colllation to use. Added from WP 5.4.2
$dbversion = __db_version();
if ( version_compare( $dbversion, '5.6', '>=' ) ) {
$utf8mb4 = 'utf8mb4_520';
}else{
$utf8mb4 = 'utf8mb4';
}
if(!empty($has_cap)){
echo '<claim_utf8>'.$utf8mb4.'</claim_utf8>';
}
// Server detection
/**
* Whether the server software is Apache or something else
* @global bool $soft_is_apache
*/
$soft_is_apache = (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false || strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false);
if(!empty($soft_is_apache)){
echo '<soft_apache>soft_is_apache</soft_apache>';
}else{
echo '<soft_apache>soft_not_apache</soft_apache>';
}
?>
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | May 09 2025 09:37:19 | 0 / root | 0755 | |
languages | -- | May 09 2025 09:37:19 | 0 / root | 0755 | |
php53 | -- | May 09 2025 09:37:19 | 0 / root | 0755 | |
php56 | -- | May 09 2025 09:37:20 | 0 / root | 0755 | |
php71 | -- | May 09 2025 09:37:19 | 0 / root | 0755 | |
php81 | -- | May 09 2025 09:37:19 | 0 / root | 0755 | |
php82 | -- | May 09 2025 09:37:19 | 0 / root | 0755 | |
plugins | -- | May 09 2025 09:37:20 | 0 / root | 0755 | |
| | | | | |
.htaccess | 0.41 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
_htaccess | 0.259 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
_index.php | 0.058 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
_wp-config.php | 2.899 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
add_user.php | 0.45 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
backup.php | 3.03 KB | May 08 2025 07:21:46 | 0 / root | 0644 | |
check_charset.php | 2.019 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
clone.php | 30.968 KB | May 08 2025 07:21:46 | 0 / root | 0644 | |
clone.xml | 0.485 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
edit.php | 9.05 KB | May 08 2025 07:21:46 | 0 / root | 0644 | |
edit.xml | 1.568 KB | October 03 2023 03:59:48 | 0 / root | 0644 | |
extend.php | 82.872 KB | May 08 2025 07:21:46 | 0 / root | 0644 | |
fileindex.php | 0.284 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
import.php | 6.561 KB | May 08 2025 07:21:46 | 0 / root | 0644 | |
info.xml | 14.935 KB | May 08 2025 06:40:40 | 0 / root | 0644 | |
install.js | 1.458 KB | January 03 2025 08:25:20 | 0 / root | 0644 | |
install.php | 30.793 KB | May 08 2025 07:21:46 | 0 / root | 0644 | |
install.xml | 5.381 KB | February 24 2025 02:15:58 | 0 / root | 0644 | |
md5 | 4.336 KB | May 08 2025 07:21:46 | 0 / root | 0644 | |
notes.txt | 5.163 KB | January 31 2024 06:53:52 | 0 / root | 0644 | |
plugin_activate.php | 0.582 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
plugin_deactivate.php | 0.599 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
sign_on.php | 3.28 KB | January 28 2025 04:06:24 | 0 / root | 0644 | |
soft.htaccess | 0.124 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
upgrade.php | 12.933 KB | May 08 2025 07:21:46 | 0 / root | 0644 | |
upgrade.xml | 1.407 KB | October 03 2023 03:59:48 | 0 / root | 0644 | |
wp-config.php | 2.623 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |