xref: /web-php/lookup-form.php (revision b62f99f6)
1<?php
2/*
3
4 This page is a fallback search for mobile users without JavaScript.
5
6*/
7
8// Ensure that our environment is set up
9$_SERVER['BASE_PAGE'] = 'lookup-form.php';
10include_once __DIR__ . '/include/prepend.inc';
11
12// Do not index this fallback page
13site_header("PHP.net Manual Lookup", ["noindex"]);
14
15?>
16
17<h1>PHP.net Manual Lookup</h1>
18
19<form class="lookup-form" action="/manual-lookup.php" method="get">
20    <input type="hidden" name="show" value="quickref">
21    <div class="">
22        <input
23            type="search"
24            name="function"
25            value=""
26            aria-label="Lookup docs"
27        />
28        <button type="submit">Search</button>
29    </div>
30</form>
31
32<?php
33
34site_footer();
35