I am using the code above to test whether someone is logged in or not. When a user is NOT logged in i get this error:
Unable to add cookies, header already sent.
File: /htdocs/forums/services.php
Line: 5
If the user is already logged in, its works perfectly!!
The problem is with this line. Why can't you use this line if a user is not logged in?
include("global.php");
I need help!! I have vb 3.6 beta 3.
Thanks,
--jake
|