从数据库取出数据数组格式保存
file_put_contents('/tmp/bak_trusted_list'.date('H').'.php', '<?php return '.var_export($list, true).';?>');
从数据库取出数据数组格式保存
file_put_contents('/tmp/bak_trusted_list'.date('H').'.php', '<?php return '.var_export($list, true).';?>');
转载于:https://www.cnblogs.com/a-flydog/p/6079873.html