GRAYBYTE WORDPRESS FILE MANAGER8744

Server IP : 149.255.58.128 / Your IP : 216.73.216.158
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
Directory : /var/softaculous/wp52/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/softaculous/wp52//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>';	
}
	

?>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 23 2025 09:37:16
0 / root
0755
images
--
May 09 2025 09:37:21
0 / root
0755
languages
--
May 09 2025 09:37:21
0 / root
0755
php53
--
May 09 2025 09:37:21
0 / root
0755
php56
--
May 09 2025 09:37:21
0 / root
0755
php71
--
May 09 2025 09:37:21
0 / root
0755
php81
--
May 09 2025 09:37:21
0 / root
0755
php82
--
May 09 2025 09:37:21
0 / root
0755
plugins
--
May 09 2025 09:37:21
0 / root
0755
.htaccess
0.409 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.942 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.034 KB
May 08 2025 07:22:28
0 / root
0644
check_charset.php
2.019 KB
December 23 2021 06:54:36
0 / root
0644
clone.php
30.932 KB
May 08 2025 07:22:28
0 / root
0644
clone.xml
0.485 KB
December 23 2021 06:54:36
0 / root
0644
edit.php
9.474 KB
May 08 2025 07:22:28
0 / root
0644
edit.xml
1.759 KB
October 03 2023 03:59:48
0 / root
0644
extend.php
82.694 KB
May 08 2025 07:22:28
0 / root
0644
fileindex.php
0.284 KB
December 23 2021 06:54:36
0 / root
0644
import.php
6.509 KB
May 08 2025 07:22:28
0 / root
0644
info.xml
14.937 KB
May 08 2025 06:40:40
0 / root
0644
install.js
1.466 KB
January 03 2025 08:25:20
0 / root
0644
install.php
31.003 KB
May 08 2025 07:22:28
0 / root
0644
install.xml
5.655 KB
February 24 2025 02:15:58
0 / root
0644
md5
4.843 KB
May 08 2025 07:22:28
0 / root
0644
notes.txt
5.23 KB
February 02 2024 04:33:18
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:11:12
0 / root
0644
soft.htaccess
0.124 KB
December 23 2021 06:54:36
0 / root
0644
upgrade.php
13.269 KB
May 08 2025 07:22:28
0 / root
0644
upgrade.xml
1.599 KB
October 03 2023 03:59:48
0 / root
0644
wp-config.php
2.666 KB
December 23 2021 06:54:36
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF