Sorry, that was actually my fault for the minor error. Here is the generated error log:
PHP Code:
[26-May-2011 20:58:29] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/xxxxx/public_html/community/wc3_nightelf/chat.php on line 11
[26-May-2011 20:58:29] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxx/public_html/community/wc3_nightelf/chat.php on line 11
So we can obviously state that my include code was incorrect.
I changed the include from:
PHP Code:
require_once('/global.php');
to
PHP Code:
require_once(DIR . '/global.php');
Yet I did not work.