Quote:
Originally Posted by Marco van Herwaarden
Just include global.php in your script and a session will be done automatically.
|
thanks! but
PHP Code:
require("./includes/config.php");
require("./global.php");
I use these, and works, 'cause i tried to comment the second line and the message that appears is this:
Code:
Fatal error: Call to a member function on a non-object in /home/admin/domains/test/public_html/forum/includes/functions_user.php on line 263
I suppose that the path is correct and global.php is included, but the session doesn't appears valid
thanks again:up: