Gossamer Forum
Home : Products : DBMan : Installation :

Trying to bypass login on search..

Quote Reply
Trying to bypass login on search..
I'm trying to set up my main page so that a user can do a keyword search on the database and not log in, but I can't seem to get around the authentication, regardless of what I have for $auth_no_authentication.

If I have it on, it dumps me to the login screen, as it logically should. If I have it OFF, it dumps me to the main menu screen instead of performing the search. How can I get it to search without going to this menu screen?

The relevant HTML code is below:

<form action="http://www.e-league.com/blackrockcards/cgi-bin/dbman/db.cgi" method="GET">
<input type=hidden name="db" value="default">
<table width="100%" height="100%" CELLSPACING="0" CELLPADDING="0" border="0">
<tr>
<td valign="TOP">
<img src="images/vspacer.gif" WIDTH="150" HEIGHT="1">
<br><br>
<img src="images/blank-metal.jpg"><br>
<img src="images/rec9.jpg"><br>
<img src="images/rec10.jpg"><br>
<img src="images/b14.jpg"><br>
<img src="images/b15.jpg"><br>
<img src="images/b28.jpg"><br>
<INPUT TYPE="TEXT" NAME="keyword" SIZE=15 MAXLENGTH=255>Find A Card!
<br>
<INPUT TYPE="SUBMIT" NAME="view_records" VALUE="Search!"> <INPUT TYPE="RESET" VALUE="Reset Form">
</form>

The page can be viewed at http://www.e-league.org/blackrockcards

Thanks for any help!
Quote Reply
Re: Trying to bypass login on search.. In reply to
You are missing the uid hidden field:

Code:
<input type="hidden" name="uid" value="default">

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------