Reply
email login question
Old 08-06-2004, 12:23 PM email login question
StudioWorks's Avatar
Super Spam Talker

Posts: 894
Location: i'm not gonna tell ya...
Ok , here's the problem guys

On the right of my website i have a field that says : username and another one that says : password

the webmail is configured at the address : mail.domainname.com .

Now what i want is : when i go on my site : www.domainname.com and i enter the username & password there i want to go directly to my inbox after i click Login.
How do i do that

P.S - if I posted in the wrong forum , escouse me please

StudioWorks is offline
Reply With Quote
View Public Profile Visit StudioWorks's homepage!
 
When You Register, These Ads Go Away!
     
Old 08-06-2004, 12:54 PM
webwoRRks's Avatar
Ultra Talker

Posts: 426
Location: I hope so
OK, if you already have a login page that you don't want to use any more, open it up (eww) and look at the insides (ewwwww). You'll find something like this;

HTML Code:
<form method="POST" action="webmail/login.php">
Username <input type="text" name="user_name"><br>
Password <input type="password" name="user_pass"><br>
<input type="submit" value="Log in">
</form>
What you need to do then is add the form tags around your login username and password inputs, and set the name for your username and password inputs to be the same as on your origonal page. Your form must have the same method (in this case POST (most likely)), and the same action, the address of the file that handles the login (in this case webmail/login.php). Yell if you need more help.
webwoRRks is offline
Reply With Quote
View Public Profile Visit webwoRRks's homepage!
 
Reply     « Reply to email login question
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11844 seconds with 13 queries