Gossamer Forum
Home : Products : DBMan : Customization :

Login screen to webpage

Quote Reply
Login screen to webpage
Using JPDenni's tutorial I've succeeded in encorporating DBMAN into a webpage.

Unfortunately tho', http://www.flash.net/...nam/Directory/db.cgi only gives the link to the webpage, but I want folks to be able to login from the webpage.

I'm sure it's simple html, but my html.pl is getting so busy I'm at a loss as to where to start, :-0.

My html.pl is @ http://www.flash.net/~murgnam/html_pl.txt if that helps.

Thx in advance.

JR
Quote Reply
Re: Login screen to webpage In reply to
I have this working on the following web page:

www.anthrotech.com/career/

All you have to do is add the form codes from the sub html_login routine in the html.pl into your static HTML page like the following:

Code:
<form action="http://www.mydomain/cgi-bin/dbman/db.cgi" method="post" name="form1"
>
Username: <input name="userid" size="15"><br>
Password: <input type="password" name="pw" size="15"><br>
<input type="SUBMIT" name="login" value="Log me in!">
</form>

Hope this helps.

Regards.

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


Quote Reply
Re: Login screen to webpage In reply to
Joe - I also have a login from our static web page if you want to take a look at it. This code also provides a "graphic" for a button and a link to the password lookup form.

It's at http://cocoahighalumni.com

Here are the codes that I used:
<form action="http://www.mydomain.com/cgi-bin/dbman/db.cgi" method="post" name="form1">

<input type=hidden name="db" value="default">
<input type=hidden name="uid" >
<input type="hidden" name="login" value="Logon">

UserID:<input name="userid>
Password:<input type="password" name="pw">
<input type="image" name="login" src="path/to/your/graphic/button.gif" value="Logon" border="0">

<a href="http://www.yourdomain.com/cgi-bin/dbman/db.cgi?db=default&lookup_form=1"
>Forgot your password?</a>

</form>

Hope this helps !



------------------
donm
All those who believe in psychokinesis, please raise my hand.




Quote Reply
Re: Login screen to webpage In reply to
Thx 4 the tips guys, :-), I've wickered both ways you've suggested, and they work ... alas, I think I've got a nesting prob from h*** goin' on here, ugh. Thx again for the words ... I'll be back, :-).
JR