Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-02-2012, 03:37 AM   PM User | #1
legendrock7
New Coder

 
Join Date: Sep 2012
Posts: 58
Thanks: 8
Thanked 0 Times in 0 Posts
legendrock7 is an unknown quantity at this point
login code making it login in my forums

Hi, i have a login code here

Code:
<div id="wrapper">

<font color="#ffffff">
<center><div id="logintable" style="border-radius: 5px;background: #191a1a; opacity: 6.80; border: solid 2px #2f3d3d; width: 969px;" width="969">
<tr height="500">
<div id="container">
<form action="/smf" name="frmLogin" id="frmLogin" method="post">Login &nbsp; <input type="text" name="user" size="20" value="Username" class="input_text" /><input type="password" name="passwrd" value="password" size="20" class="input_password" />&nbsp;Remember Me?&nbsp;<input type="checkbox" name="cookieneverexp" class="input_check" onclick="this.form.cookielength.disabled = this.checked;" />&nbsp;&nbsp;<input type="submit" class="button_submit"  value="Login" />&nbsp;&nbsp;&nbsp;
</div></div>
</div></div>
i want it to login to the forums without someone going on the forums, login from there.


Example.


Homepage>you see a login field>you put your FORUM information(login username & password> you click login>you actually login within the forum.

I would like to know how to do so,

thanks if you can help, thanks!


edit: i'm idiot, i just realized that this isn't part of php. please move if you can.

Last edited by legendrock7; 10-02-2012 at 03:41 AM..
legendrock7 is offline   Reply With Quote
Old 10-02-2012, 04:27 AM   PM User | #2
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,045
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
It might be PHP.

What is your forum (a PHP script?).

You'll basically have your own PHP script that duplicates the
scripting that your forum uses to set PHP SESSION variables.
mlseim is offline   Reply With Quote
Old 10-02-2012, 04:38 AM   PM User | #3
legendrock7
New Coder

 
Join Date: Sep 2012
Posts: 58
Thanks: 8
Thanked 0 Times in 0 Posts
legendrock7 is an unknown quantity at this point
Mybb

Do you need my website url?
legendrock7 is offline   Reply With Quote
Old 10-02-2012, 01:14 PM   PM User | #4
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,045
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
How much do you know about PHP?

You'll need to find the login script(s) that mybb uses.
I've never used mybb .. I'm not sure how they organize their scripts.

I googled: mybb login integration

I found this:
http://freevps.us/thread-3989.html

That might be a good place to start.


.
mlseim is offline   Reply With Quote
Users who have thanked mlseim for this post:
legendrock7 (10-03-2012)
Old 10-02-2012, 04:50 PM   PM User | #5
legendrock7
New Coder

 
Join Date: Sep 2012
Posts: 58
Thanks: 8
Thanked 0 Times in 0 Posts
legendrock7 is an unknown quantity at this point
I'm not familiar with mybb, i usually use simple machines forums. I'm trying out the link you sent me
legendrock7 is offline   Reply With Quote
Old 10-03-2012, 01:27 AM   PM User | #6
legendrock7
New Coder

 
Join Date: Sep 2012
Posts: 58
Thanks: 8
Thanked 0 Times in 0 Posts
legendrock7 is an unknown quantity at this point
Edit: got it solved.

Last edited by legendrock7; 10-03-2012 at 02:48 AM..
legendrock7 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:24 AM.


Advertisement
Log in to turn off these ads.