<script>window.location.href=...</script>
例如:批量移动:
原来的代码:
header('Location: ?mod=article_list&msg=batch_move_success');修改为:
echo '<script>window.location.href="?mod=article_list&msg=batch_move_success";</script>';header('Location: ?mod=article_list&msg=batch_move_success');echo '<script>window.location.href="?mod=article_list&msg=batch_move_success";</script>';
发表评论 (0)
留下你的足迹