- Joined
- May 7, 2007
- Messages
- 5
- Reaction score
- 0
Hey guys
i made a website for my rose server and everything works fine
the only thing that dont work is the UserCP (im using RoseOnline CMS 3Lite, with a design made by me =)
when im Logged in and go to UserCP everything is fine
but when im not logged in and go to UserCP the message "Must be logged in to see this page!" is standing there, thats not the problem at all, the problem is that when this message comes up my page somehow screws up.
The question i want to ask is
how to get this code so it links back to the login page instead of poping up this message
plz help me =/
i made a website for my rose server and everything works fine
the only thing that dont work is the UserCP (im using RoseOnline CMS 3Lite, with a design made by me =)
when im Logged in and go to UserCP everything is fine
but when im not logged in and go to UserCP the message "Must be logged in to see this page!" is standing there, thats not the problem at all, the problem is that when this message comes up my page somehow screws up.
The question i want to ask is
Code:
<?php if(!session_is_registered(User_Name)) {
die("");
}
if(!session_is_registered(User_Pass)) {
die("");
}
plz help me =/