mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-17 04:36:57 +00:00
big changes, closer to prod
This commit is contained in:
parent
95474141f4
commit
f23a6e3ac8
12 changed files with 191 additions and 73 deletions
|
@ -26,7 +26,7 @@ require("header.php");
|
|||
$query = $_GET['query'];
|
||||
// gets value sent over search form
|
||||
|
||||
$min_length = 3;
|
||||
$min_length = 1;
|
||||
$max_length = 32;
|
||||
if(strlen($query) >= $min_length and strlen($query) <= $max_length){ // if query length is more or equal minimum length then
|
||||
|
||||
|
@ -58,6 +58,6 @@ require("header.php");
|
|||
|
||||
}
|
||||
else{ // if query length is less than minimum or more than maximum
|
||||
echo "<p>Error: Query must be between ".$min_length . " and ".$max_length . " characters.</p>";
|
||||
echo "<p>Search query must be between ".$min_length . " and ".$max_length . " characters.</p>";
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue