For the reason why mysql automatically inserts two data records at a time, and find a solution

Source: Internet
Author: User
About the reason why mysql automatically inserts 2 pieces of data at a time, and find a solution http://topic.csdn.net/u/20120612/00/25dbb044-9e8c-4065-af34-e22ae0b0b1a8.html

This problem occurs when Google chrome inserts two data entries, IE and FF inserts only one entry, and the godaddy database is used.
After adding the data of $ _ SERVER ['request _ url'] and $ _ SERVER ["HTTP_REFERER"], we find the following:


The repeated data is
$ _ SERVER ["HTTP_REFERER"] is null;
$ _ SERVER ['request _ URI '] is/favicon. ico;

Find a solution to the problem...


Reply to discussion (solution)

It turns out that you have not solved the problem. you are purely guilty.

It turns out that you have not solved the problem. you are purely guilty.


Amount
If ($ _ SERVER ['request _ URI '] = "/favicon. ico ")
Is this a solution?

The landlord is not authentic !!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.