I don't see why global.php would not work if your not logged in.
Why are you turning off the session?
PHP Code:
define('SKIP_SESSIONCREATE', 1);
You don't need to load these files. These are all loaded by default when you load global.php
PHP Code:
require_once('./includes/class_dm.php');
require_once('./includes/class_dm_threadpost.php');
Ah, nevermind, I see your not even the thread starter.