Home > Backend Development > PHP Tutorial > php-控制器被连续执行二次

php-控制器被连续执行二次

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-02 11:33:28
Original
941 people have browsed it

php

问题是这样的,发一份注册激活邮件到用户邮箱,点击邮件是的激活链接,结果,控制器被连续执行二次,把链接手动复制到地址栏回车,就正常执行一次,目前只发现火狐浏览器有这个问题,其他浏览器经过初步测试都是正常的,好奇怪呀:
/**
* 邮箱激活
*/
public function active_user(){
file_put_contents('active.txt', '测试邮箱', FILE_APPEND);
die;
}
结果active.txt里面出现:测试邮箱测试邮箱,即被连续执行了二次,求解释???
开发用的是CI框架

Related labels:
php
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
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
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