信息持久化
测验编号:91490
未加密的文件内容:{$con_str}” * 2) “
加密后的内容:{$encryption_con}” * **********************************/ $file_path = “user.txt”;
$handle = fopen(“user.txt”,”r”);
$con_str=file_get_contents(“user.txt”); $encryption_con=md5(trim(“$con_str”)); echo “
未加密的文件内容:{$con_str}”; echo “
加密后的内容:{$encryption_con}”; ?>
测验编号:91500)
$search_val=trim($_POST[“search_val”]);
$arr=explode(“,”,”$search_val”);
echo “
{$arr[0]}”;
echo “
{$arr[1]}”;
echo “
{$arr[2]}”;
echo “
{$arr[3]}”;