Server IP : 149.255.58.128 / Your IP : 216.73.216.115
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/sp//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();
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>';
}
if(include_once('[[editor_path]]/site-inc/open_basedir.php')){
if(!empty($included)){
echo '<soft_open_basedir>SP_OBD_SUPPORTED</soft_open_basedir>';
}
}
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | April 22 2025 09:37:12 | 0 / root | 0755 | |
php53 | -- | April 22 2025 09:37:12 | 0 / root | 0755 | |
php56 | -- | April 22 2025 09:37:12 | 0 / root | 0755 | |
php71 | -- | April 22 2025 09:37:12 | 0 / root | 0755 | |
php81 | -- | April 22 2025 09:37:12 | 0 / root | 0755 | |
php82 | -- | April 22 2025 09:37:12 | 0 / root | 0755 | |
| | | | | |
.htaccess | 0.18 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
_index.php | 0.036 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
check_charset.php | 1.967 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
clone.php | 13.178 KB | April 21 2025 04:40:34 | 0 / root | 0644 | |
edit.php | 3.537 KB | April 21 2025 04:40:34 | 0 / root | 0644 | |
edit.xml | 0.263 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
editor.zip | 21.55 MB | April 22 2025 09:37:12 | 0 / root | 0644 | |
extend.php | 2.516 KB | April 21 2025 04:40:34 | 0 / root | 0644 | |
fileindex.php | 0.031 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
import.php | 3.082 KB | April 21 2025 04:40:34 | 0 / root | 0644 | |
index.php | 1.214 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
info.xml | 20.322 KB | April 21 2025 03:09:44 | 0 / root | 0644 | |
install.js | 0.902 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 24.56 KB | April 21 2025 04:40:34 | 0 / root | 0644 | |
install.xml | 5.302 KB | May 25 2022 01:35:12 | 0 / root | 0644 | |
md5 | 1.38 KB | April 21 2025 04:40:34 | 0 / root | 0644 | |
post_download.json | 0.093 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
sign_on_func.php | 2.13 KB | September 13 2023 10:18:58 | 0 / root | 0644 | |
soft.htaccess | 0.121 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
sp.sql | 21.101 KB | April 22 2025 09:37:12 | 0 / root | 0644 | |
sp.zip | 0.274 KB | April 22 2025 09:37:12 | 0 / root | 0644 | |
upgrade.php | 3.271 KB | April 21 2025 04:40:34 | 0 / root | 0644 | |
upgrade.xml | 0.226 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |