Location: PHPKode > scripts > Class Grep Search > class-grep-search/exampleSearchForm.php

<meta http-equiv="content-type" content="text/html; charset=utf-8" />


<body bgcolor="ffffff">
 <form method="post" action="exampleSearch.php" name="keysearch">

 <div class="section-header"><h3>Enter word(s) or phrase(s)</h3></div>

 <div class="section">
  <span class="txt-sm">Path to the directory to be searched</span><br />
 <input type="text" name="path" value="./" size="35" /><br /
 <span class="txt-sm">Example "Alice's Adventures"</span><br />
 <input type="text" name="search" value="" size="35" /><br />
 <select name="searchtype" >
<option value="all" selected="selected" >Match ALL words</option>
<option value="any">Match ANY word</option><br />

<option value="phrase">Match EXACT phrase</option>

<option value="allInFile">Match ALL words in FILE</option>
 </select><br />
 <input id="casesensitive" type="checkbox" name="casesensitive" value="yes"  />CaseSensitive<br />
 <input id="searchcountonly" type="checkbox" name="searchcountonly" value="yes"  />Display Search Count Only<br />
 <input type="radio" name="limit" value="none" id="limit-none"  checked="checked"  />
 <label for="limit-none" id="limit-none-label">
 Search entire Book</label><br><br>
 <input type="radio" name="limit" value="span" id="limit-span" 

<label for="limit-span" id="limit-span-label">
Search from Directory </label>
 <select name="spanbegin" id="limit-span-begin" >

<option value="1" selected="selected" >Chapter 1 to 3</option>

<option value="2">Chapter 4 to 6</option>
<option value="3">Chapter 7 to 9</option>
<option value="4">Chapter 10 to 12</option>
     to Directory
 <select name="spanend" id="limit-span-end"  >
<option value="1">Chapter 1 to 3</option>
<option value="2">Chapter 4 to 6</option>
<option value="3">Chapter 7 to 9</option>
<option value="4" selected="selected" >Chapter 10 to 12</option>


 <input type="submit" name ="searchKeywordForm" value="Search for keyword or phrase" />
Developed by:  <a href="http://www.seraphimtech.net">www.seraphimtech.net</a><HR>

Return current item: Class Grep Search