Error 404 in the file that is on the site

Well, that’s why on my site for some odd reason, I get a 404 error, which is in a file that says everything about it on the site. Create.php is not displayed. Just 404 (Along with aaa.php, but I can still use HTTP services to access it). This is an image of my file list: http://ctrlv.in/485842

This is my 404 error: http://ctrlv.in/485844

Last but not least, this is my code:

<?php
$servername = "localhost";
$username = "robx10ho_users";
$password = "fakiefakie";
$dbname = "robx10ho_usersuse";
$usn = $_REQUEST['usn'];
$psw = $_REQUEST['psw'];

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
} 

$sql = "INSERT INTO login (Username, Password)
VALUES ($usn, $psw");

if ($conn->query($sql) === TRUE) {
    echo "New record created successfully";
} else {
    echo "Error: " . $sql . "<br>" . $conn->error;
}

$conn->close();
?>
+4
source share
2 answers

, - , , , , , .

, . , .

0

, , , PHP. , , Sitemap . , , FTP SSH ( ).

0

Source: https://habr.com/ru/post/1570781/


All Articles