Server IP : 149.255.58.128 / Your IP : 216.73.216.204
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/classicpress//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( '[[cpver]]', '-' ) ) {
$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();
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 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php53 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php56 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php71 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php81 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php82 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
| | | | | |
.htaccess | 0.471 KB | February 23 2024 04:14:30 | 0 / root | 0644 | |
_htaccess | 0.325 KB | February 23 2024 04:14:30 | 0 / root | 0644 | |
_index.php | 0.058 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
_wp-config.php | 3.438 KB | February 23 2024 04:14:30 | 0 / root | 0644 | |
check_charset.php | 1.815 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
clone.php | 15.632 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
edit.php | 5.12 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
edit.xml | 0.613 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
extend.php | 3.937 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
fileindex.php | 0.298 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
import.php | 5.71 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
info.xml | 2.893 KB | March 17 2025 06:46:00 | 0 / root | 0644 | |
install.js | 0.902 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 19.728 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
install.xml | 1.231 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
md5 | 3.202 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
notes.txt | 1.761 KB | December 09 2024 00:21:00 | 0 / root | 0644 | |
sign_on.php | 0.986 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
soft.htaccess | 0.124 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
wp-config.php | 3.151 KB | February 23 2024 04:14:30 | 0 / root | 0644 | |