Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Cookies in another directory
#3
Not Solved
Here's what I use:

chdir("../"); // path to MyBB
define("IN_MYBB", 1);
require("global.php");
chdir("../");

echo $mybb->settings['bbname'] . ':' . $mybb->user['uid'];

It returns: Resource Forums:0 which means my uid would have to be 0 and it's not.


Messages In This Thread
Cookies in another directory - by KoolAidModz - 2014-03-13, 07:12 PM
RE: Cookies in another directory - by Xen0n - 2014-03-13, 08:28 PM
RE: Cookies in another directory - by KoolAidModz - 2014-03-13, 09:21 PM
RE: Cookies in another directory - by Xen0n - 2014-03-13, 09:26 PM
RE: Cookies in another directory - by pavemen - 2014-03-13, 09:42 PM
RE: Cookies in another directory - by KoolAidModz - 2014-03-13, 09:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)