started drafting the search page

This commit is contained in:
nihilist 2025-01-13 13:18:41 +01:00
parent d662fb67d3
commit ca5290d94b

15
www/tests/search.php Normal file
View file

@ -0,0 +1,15 @@
// https://github.com/H3l3na/php-search/blob/master/search.php
//
<?php
// make a html prompt,
// it must take into account what the user is typing in it and display it
// there needs to be regex checking, only allow [a-zA-Z0-9.:/]
// and if anything else is there, throw out an error
// then if the regex matches,
// display the results of verified.csv
// only display the results of verified.csv that matches with the search term
// display the results of unverified.csv
// only display the results of unverified.csv that matches with the search term
?>