{"code":"MethodNotAllowedError","message":"POST is not allowed"}
Hi!
I have a problem with post
index.php
<html>
<head>
<!-- Polish -->
<meta charset="utf-8">
<title>Przekierowywanie</title>
</head>
<body>
<form action="home.php" method="post">
<input name="nick" type="text"> <br>
<input name="pass" type="password"> <br> <br>
<input type="submit">
</form>
</body>
</html>
home.php
<html>
<head>
<!-- Polish -->
<meta charset="utf-8">
<title>W trakcie budowy!</title>
</head>
<body>
<?
//POST Nick and Password
$ln = $_POST["nick"];
$lp = $_POST["pass"];
//Checking nick and password
if ($ln == "Jan" and $lp == "hehe") {
}
?>
</body>
</html>
Someone can help me?
