The URL you requested cannot be obtained, but the server repeatedly receives the data submitted in the form twice, and then executes the PHP code (continuously INSERT records to the database, for example, 1000 Records ).. However, when the execution is complete, I find that there are 2000 million data records, half of which are more than half. then I write logs at the completion of the execution. I find that the requested URL (URL) cannot be obtained, however, the server repeatedly receives two submissions.
After the form submits data, execute PHP code (INSERT records continuously to the database, for example, 1000 Records )..
However, when the execution is completed, it turns out that there are 2000 million data records, half more.
Then I wrote logs at the completion of the execution and found that two logs are frequently displayed, about 100 seconds apart.
That is to say, the request is twice? However, during the test, the front-end does request only once.
If the page execution fails, the following error page is displayed:
Share:
------ Solution --------------------
The code has been repeatedly executed. it should be the code details. paste the relevant code and check it out.
------ Solution --------------------
Reference:
Nobody knows?
I am not quite clear about your problem.
I tried again just now, but after the following prompt appears
Is it "is the link reset "?
If your browser executes the request, you can f12 to check whether there is a problem with the network request.
------ Solution --------------------
1. it may be related to your server configuration. Because you have hidden the url, you cannot determine whether it is the cause (if not configured by a professional, the possibility is at least 80%)
2. it may be related to your browser, for example, IE8 or below. The possibility of post forms being processed repeatedly is about 50%.
3. it may be related to your program. it is time-consuming to process thousands of data entries one by one, and the program may time out.
4. it may be related to the data itself. if you do not check the validity of the data, wrong data will inevitably cause the system to crash.