i've set up a searchform with extra .pl and .cfg that searches only one field of my database, a textarea. the problem is that you have to search case sensitive, although i put <input type=hidden name=cs value=off> in the searchform. the normal search with the main .pl searches just fine, not case sensitive.
here's the code i use for the searchform:
<input type=hidden name="db" value="$db_setup">
<input type=hidden name="uid" value="$db_uid">
<DIV CLASS=shd>Suchbegriff: <INPUT TYPE="text" NAME="Screenshot" MAXLENGTH="1000">
<INPUT TYPE="SUBMIT" VALUE="Suchen"></DIV><BR>
<INPUT TYPE="hidden" NAME="sb" VALUE="10">
<INPUT TYPE="HIDDEN" NAME="mh" VALUE="10000000000000">
<INPUT TYPE="hidden" NAME="so" VALUE="ascend">
<INPUT TYPE="hidden" NAME="cs" VALUE="off">
<INPUT TYPE=hidden name="view_records" value=1>
</form>
any help is appreciated, thanks
here's the code i use for the searchform:
Code:
<form action="http://localhost/cgi-bin/dbman/db.cgi" method="GET"> <input type=hidden name="db" value="$db_setup">
<input type=hidden name="uid" value="$db_uid">
<DIV CLASS=shd>Suchbegriff: <INPUT TYPE="text" NAME="Screenshot" MAXLENGTH="1000">
<INPUT TYPE="SUBMIT" VALUE="Suchen"></DIV><BR>
<INPUT TYPE="hidden" NAME="sb" VALUE="10">
<INPUT TYPE="HIDDEN" NAME="mh" VALUE="10000000000000">
<INPUT TYPE="hidden" NAME="so" VALUE="ascend">
<INPUT TYPE="hidden" NAME="cs" VALUE="off">
<INPUT TYPE=hidden name="view_records" value=1>
</form>