HI, I really need your help to write code for me. I have tried that myself it won't work. I guess I'm still rookie...
I have install phpbb and works great, but if i want to log in from "login.php" and redirect to "index.php" where it will say "welcome user name".
but also want automatic log in for phpbb in "forum.php" too with out re-asking for log in again, so I assume that is must be using session variable or cookie and i have tried both is not working right.
I would appreication if you could provide me code's for log in and redirect to index. php page and autoamtic log in forums please. thanks.
AM
need help with login
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Gurzi put it blunty but yeah, we won't give you code here as the main purpose of the forum is to teach you stuff.
You should probably investigate HTTP authenication with Apache because this may well be easier and more secure for you, also it involves no PHP.
You should probably investigate HTTP authenication with Apache because this may well be easier and more secure for you, also it involves no PHP.
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
redirect can be done by
try google for some answers 
Code: Select all
header("Location: ....");