"The requested resource /novo-video.php was not found on this server."
<form class="container__formulario" action="/novo-video.php" method="post"><form class="container__formulario" action="/./novo-video.php" method="post">
<?php
$dbPath = __DIR__ . '/banco.sqlite';
$pdo = new PDO("sqlite:$dbPath");
$sql = 'INSERT INTO videos (url, title) VALUES (?, ?)';
$statement = $pdo->prepare($sql);
$statement->bindValue(1, $_POST['url']);
var_dump($_POST['url']);
$statement->bindValue(2, $_POST['titulo']);
var_dump($statement->execute());
O arquivo está na mesma pasta do index.php, igual ao video