curbsy Posted February 3, 2006 Share Posted February 3, 2006 <?phpinclude("http://www.rl6.org/~curbsy/include/session.php");if($session->logged_in){?>*content*<?php} else {?>*error message*<?php}?>I'm using this to decided whether or not a user is logged in and to display the proper results. It always returns as the error message though. Does anybody know why...? Link to comment Share on other sites More sharing options...
_underscore_ Posted February 4, 2006 Share Posted February 4, 2006 Well, what is the error?And if your page is at http://www.rl6.org/~curbsy/, you need to change the include path to "./include/session.php" Link to comment Share on other sites More sharing options...
curbsy Posted February 4, 2006 Author Share Posted February 4, 2006 "./include/session.php"<{POST_SNAPBACK}> does it really have to be that? why can't I have 'http://www.rl6.org/~curbsy/include/session.php'?As I said before, it will always return as the error. Even if I'm logged in it says I'm not. Link to comment Share on other sites More sharing options...
curbsy Posted February 5, 2006 Author Share Posted February 5, 2006 ...and help with this? I really want this to work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now