search.php docs and structure