A wrong submission problem last night left me up to two points, poor. The question of form input is that jquery dynamically joins the input node. When a form is submitted, there is no input project attached to it. I don't know how to make it happen, but it doesn't work. This is one of them. I have not tested a normal solution for the method I mentioned on the Internet, so I did not continue to use the Add section.
A wrong submission problem last night left me up to two points, poor. The question of form input is that jquery dynamically joins the input node. When a form is submitted, there is no input project attached to it. I don't know how to make it happen, but it doesn't work. This is one of them. I have not tested a normal solution for the method I mentioned on the Internet, so I did not continue to use the Add section.
A wrong submission problem last night left me up to two points, poor.
The question of form input is that jquery dynamically joins the input node. When a form is submitted, there is no input project attached to it. I don't know how to make it happen, but it doesn't work. This is one of them. I have not tested a normal solution for the method I mentioned on the Internet, so I did not continue to use the method of adding nodes.
The other is the ^ M character after the string. This may cause nginx to have a 400 Error Response and cannot process the request.
// If you are upset with windows '^ M characters at the end of the line,
// These two lines are for you:
$ Trans = array ("\ x0D" => "");
$ Text = strtr ($ orig_text, $ trans );
// Note that ctrl + M (in vim known as ^ M) is hexadecimally 0x0D
This processing method is the most concise. You can try it. The example in the php Manual
Original article address: PHP handles the control-M character (^ M), thanks to the original author for sharing.