Update www/submit.php

This commit is contained in:
SovereigntyIsNotFreedom 2025-06-10 10:38:15 +02:00
parent 124421ed89
commit 19fa5fefcd

View file

@ -20,7 +20,7 @@ if (isset($_POST['submit'])){
$error_message = "All of the fields must not be empty";
}else{
if (strlen($link) > 512 or strlen($name) > 64 or strlen($description) > 256 or strlen($sensitive) > 1 or strlen($category) > 64){
$error_message = "Don't excede the limit";
$error_message = "Don't exceed the limit";
}else{
// Open the file once before the loop