TODO finish
This commit is contained in:
9
20240926/input_check.php
Normal file
9
20240926/input_check.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
if (isset($_POST["input_text"]) ){
|
||||
if (!str_contains($_POST["input_text"], " ")){
|
||||
$valid_input = $_POST["input_text"];
|
||||
global $valid_input;
|
||||
} else {
|
||||
echo "<h2>Nem szabad szóközt használni<h2>";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user