Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
require_once(ABSPATH . 'wp-admin/includes/image.php'); require_once(ABSPA..
Decoded Output download
<? require_once(ABSPATH . 'wp-admin/includes/image.php');
require_once(ABSPATH . 'wp-admin/includes/file.php');
require_once(ABSPATH . 'wp-admin/includes/media.php');
$image_data = base64_decode($base64_string);
$temp_file = tempnam(sys_get_temp_dir(), 'image') . '.webp'; //
file_put_contents($temp_file, $image_data); ?>
Did this file decode correctly?
Original Code
require_once(ABSPATH . 'wp-admin/includes/image.php');
require_once(ABSPATH . 'wp-admin/includes/file.php');
require_once(ABSPATH . 'wp-admin/includes/media.php');
$image_data = base64_decode($base64_string);
$temp_file = tempnam(sys_get_temp_dir(), 'image') . '.webp'; //
file_put_contents($temp_file, $image_data);
Function Calls
None |
Stats
MD5 | b1364c354c3363b62322bb3bfa9ea05b |
Eval Count | 0 |
Decode Time | 46 ms |