|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I create a User Login
I would like to learn how to create a username login (with password) for my site (like on http://www.edynamo.com/). I would like this to be associted with email so that when one logs in he can also access their webmail.
My site is hosted on a linux server that uses the webmail server and supports php. The current way to login is to go to www.mysite.com/webmail This activates a pop-up webmail login whaich I am sick of. Please advise me how I can achieve this cool feature. Thank you very much. Jimmy |
|
#2
|
|||
|
|||
|
I can help you with this
AIM: monkeysandevil MSN: hackattack_1@hotmail.com Yahoo: evilmoney113 E-mail: hackattack_1@hotmail.com |
|
#3
|
||||
|
||||
|
or, you could just yank the login box right out of the webmail's login:
Code:
<table border="0" align="center" width="40%" cellpadding="0" cellspacing="0"> <tr><td bgcolor="#002266" align="left"> <font color="#FFFFFF" face="Arial, Helvetica" size="3"><B>LOGIN</B></FONT> </td></tr><tr><td align="center" valign="middle" bgcolor="#EEEEEE"> <FORM METHOD="POST" ACTION="/cgi-bin/plugins/neomail/neomail.pl" ENCTYPE="application/x-www-form-urlencoded" NAME="login"> <INPUT TYPE="hidden" NAME="action" VALUE="login"> <BR> <table border=0> <tr> <td align=right>UserID:</td><td align=left><INPUT TYPE="text" NAME="userid" SIZE=10></td> </tr><tr> <td align=right>Password:</td><td align=left><INPUT TYPE="password" NAME="password" SIZE=10></td> </tr> </table> <INPUT TYPE="submit" NAME="Login" VALUE="Login"> <INPUT TYPE="reset" VALUE="Clear"> </FORM> </td></tr></table> reformat it however you want, just make sure the fieldnames are the same. |
|
#4
|
|||
|
|||
|
When I saved the page as html and uploaded then tried to enter username and password it gives an error (page not found with an address that looks like this http://www.arisenda.org/cgi-bin/plugins/neomail/neomail.pl) How can I make it go to the right place. For demo on this type of server please go to http://www.hostprince.com/demos.html
Unfortunately, I have little knowledgge of php. Thank you all Jim |
|
#5
|
||||
|
||||
|
You need to specify the complete path to the webmail script in the form.
So change this: Code:
<FORM METHOD="POST" ACTION="/cgi-bin/plugins/neomail/neomail.pl" ENCTYPE="application/x-www-form-urlencoded" NAME="login"> To this: Code:
<FORM METHOD="POST" ACTION="http://www.edynamo.com/cgi-bin/plugins/neomail/neomail.pl" ENCTYPE="application/x-www-form-urlencoded" NAME="login"> |
|
#6
|
|||
|
|||
|
I modified but still it is not working. P'se advise
P'se take a look at the file (attached) after I modified it according to the instructions given above.
Please advise me what ot do next. It is still not working. I actaull tyhought it would take you to webmail or home page or something after logging you in. Thank you all for your help. Jimmy |
|
#7
|
||||
|
||||
|
But you haven't changed it. The action for the form still points to "/cgi-bin/plugins/neomail/neomail.pl".
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > How do I create a User Login |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|