Answer the question
In order to leave comments, you need to log in
Why is the form submitting data in the wrong encoding?
File code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Регистрация</title>
</head>
<body>
Регистрация<br>
<form accept-charset="UTF-8" class="reguser" action="auth" method="POST">
<input style="display: none;" type="text" name="type" value="reguser">
Имя: <input type="text" name="firstname"><br>
Фамилия: <input type="text" name="lastname"><br>
Логин: <input type="text" name="login"><br>
Пароль: <input type="password" name="password"><br>
<input type="submit" value="Зарегистрироваться">
</form>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
In general, the problem has not been completely solved, but I partially solved it by sending the form using the GET method.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question