ecshop 删除收货人信息同时删除cookie中的,联动效果
elseif ($_REQUEST['step'] == 'drop_consignee'){ /*------------------------------------------------------ */ //-- 删除收货人信息 /*------------------------------------------------------ */ include_once('includes/lib_transaction.php'); $consignee_id = intval($_GET['id']); if (drop_consignee($consignee_id)) {//同时删除cookie中的收货人地址$consignee ;//= new array(};$_SESSION['flow_consignee'] = stripslashes_deep($consignee); ecs_header("Location: flow.php?step=consignee\n"); exit; } else { show_message($_LANG['not_fount_consignee']); }}
?