Some websites that use the phpcms kernel may have some customers who can register. Some customers submit the registration and the registration result shows 0, but nothing else. Baidu has a large circle, which is a js issue. So did ant brother. I have been worried for a long time.
In fact, the reason is very simple. For division, we have changed all 0 returned during registration so that they will return different results.
In this way, you can determine the row based on the returned error number. Finally, the password field is determined. To take a closer look. The original filter is is_badword. Locate the filter location
Open global. func. php and search for is_badword to see this filter. Someone must like to add a symbol in the password, at least I like it.
Locate the problem and solve it. The temporary solution is as follows:
1. After the user submits the ticket, the user will be reminded that the password cannot contain special characters.
The following figure shows the x effect after execution:
The 2nd method is to remove this filter directly and you should write it. I will not go into detail.