Quote:
Originally Posted by zivester
Thanks for the links Lynne... but my php is dieing...
Here is the top of my php file, it crashes on the require:
Code:
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define( 'THIS_SCRIPT', "search" );
define('CSRF_PROTECTION', true);
//require_once( "{$Globals['PP_PATH']}/forum/global.php" );
|
Have you tried changing the require_once to include the actual path and see if that works? Is this page you are adding in the forum directory? If so, just include it like this:
Code:
require_once('./global.php');
If it's in a different directory, then do a chdir first, like this:
Code:
chdir('/path/to/forum/');
require('./global.php');