Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 24th, 2004, 12:53 PM
jamesbak jamesbak is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 124 jamesbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 49 m 26 sec
Reputation Power: 5
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

Reply With Quote
  #2  
Old August 24th, 2004, 01:21 PM
alwaysNEWBIE alwaysNEWBIE is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: NH
Posts: 56 alwaysNEWBIE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to alwaysNEWBIE Send a message via MSN to alwaysNEWBIE Send a message via Yahoo to alwaysNEWBIE
I can help you with this

AIM: monkeysandevil
MSN: hackattack_1@hotmail.com
Yahoo: evilmoney113
E-mail: hackattack_1@hotmail.com

Reply With Quote
  #3  
Old August 24th, 2004, 01:23 PM
deltacoder's Avatar
deltacoder deltacoder is offline
slightly insane code guru
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2004
Location: Indianapolis, IN
Posts: 871 deltacoder User rank is Sergeant (500 - 2000 Reputation Level)deltacoder User rank is Sergeant (500 - 2000 Reputation Level)deltacoder User rank is Sergeant (500 - 2000 Reputation Level)deltacoder User rank is Sergeant (500 - 2000 Reputation Level)deltacoder User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 h 8 m 36 sec
Reputation Power: 12
Send a message via AIM to deltacoder Send a message via MSN to deltacoder
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.

Reply With Quote
  #4  
Old August 24th, 2004, 03:23 PM
jamesbak jamesbak is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 124 jamesbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 49 m 26 sec
Reputation Power: 5
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

Reply With Quote
  #5  
Old August 25th, 2004, 01:54 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 36 m 40 sec
Reputation Power: 92
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">
__________________
- Edwin -

The General Rules Thread | The General FAQ Thread

Reply With Quote
  #6  
Old August 25th, 2004, 01:45 PM
jamesbak jamesbak is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 124 jamesbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 49 m 26 sec
Reputation Power: 5
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
Attached Files
File Type: txt login.txt (1.2 KB, 206 views)

Reply With Quote
  #7  
Old September 7th, 2004, 04:05 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 36 m 40 sec
Reputation Power: 92
But you haven't changed it. The action for the form still points to "/cgi-bin/plugins/neomail/neomail.pl".

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > How do I create a User Login


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway