Home > Backend Development > PHP Tutorial > PHP中怎么禁止重复刷新页面

PHP中怎么禁止重复刷新页面

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:03:09
Original
904 people have browsed it

PHP中如何禁止重复刷新页面
大哥大姐帮帮小弟阿,在此先谢谢了.
在PHP中如何禁止重复刷新页面.如不能重复按F5和刷新按钮

------解决方案--------------------
有四种方法:1。用JAVASCRIPT 做判断
2。session 限定
3 。hidden 
4 .header()立即转向。我觉得header("Location: http://^^^^^")最好;当处理完数据立即转向页面,
即便再刷也不会改变;

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
About header files
From 1970-01-01 08:00:00
0
0
0
objective-c - header search path
From 1970-01-01 08:00:00
0
0
0
header problem
From 1970-01-01 08:00:00
0
0
0
How to control the length of page-header?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template