PDA

View Full Version : Login/Out IBForum


Cow-Chris
03-29-2004, 09:47 AM
I'm trying to script a php login script that will log me into the website, aswell as my Invision Board Forum 1.3 final.

Now, i've got the normal website login done easily enough, it's just i can't get it to log into the IBForums aswell.

So far for the login part i've tried,

//IBF Forum Cookies - used to log into forum aswell. -------------------

setcookie("member_id",$fields['id'],time()+7776000);
setcookie("pass_hash",$fields['password'],time()+7776000);
setcookie("anonlogin","",time()-3600);
setcookie("session_id","",time()-3600);

//---------------------------------------------------------

Trying to trick it into thinking it's logged in and setting up the session id - this worked on older versions but not on 1.3 final.


Has anyone successfully attempted this before? And if so, could i have a look at the code please?

Thank you :)