[ic] userdb search function prob

Ed LaFrance edl@newmediaems.com
Thu, 12 Apr 2001 09:11:47 -0700


At 04:22 PM 04/12/2001 +0100, you wrote:
> >
> > --snip--
> > <FORM ACTION="[area search]">
> > <INPUT TYPE="hidden" NAME="mv_session_id" VALUE="[data session id]">
> > <INPUT TYPE=hidden NAME=mv_search_file VALUE=userdb>
> > <INPUT TYPE=hidden NAME=mv_search_page VALUE=testresults>
> > <INPUT TYPE=hidden NAME=mv_matchlimit VALUE=15>
> > <INPUT TYPE=hidden NAME=mv_search_field VALUE=zip>
> > <INPUT TYPE=hidden NAME=mv_column_op VALUE=em>
> > <INPUT MAXLENGTH=5 NAME=mv_searchspec type=text size=5>
> > </td></tr>
> > <tr>
> > <td width="190" valign="top" colspan=3 align=center>
> > <input type="submit" value="Zip Search"></form>
> > --snip--
> >
>
>by default, the userdb is not searchable. You need to unset the nosearch
>directive. See:
>
>http://developer.akopia.com/archive/interchange-users/2000/msg08576.html
>
>Jonathan
>Webmaint.
>

You may also want to include this in your form:

<input type=hidden name=mv_searchtype value=db>

...otherwise you may end up searching the userdb.txt file, which may not 
have the most current information.

- Ed L.




===============================================================
**** Virtual Hosting w/private IC Installation, $65/month! ****
---------------------------------------------------------------
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================