Below is a smaple of my page, it has about 3,000 lines of code for my functions and this file is included into every page, what I am trying to do is break this page into smaller files so it is easiar to manage the code, for example I made a forum.inc.php file to put all the forum functions in and then I remove that code from this main file and try to include the new file into this file, it seems to include it, because if I do not remove the current forum functions it will say I can not redeclare the function, however anytime I try to include one of these files it makes the screen output blank, I cant seem to figure out what could be causing this
<?
session_start();
require_once "config.inc.php";
//include "functions/sanitize.inc.php";
//include "functions/notifications.inc.php";
//include "functions/photo.inc.php";
//include "functions/group.inc.php";
//include "functions/forum.inc.php";
//include "functions/classifieds.inc.php";
//include "functions/accountsettings.inc.php";
/*----------------------------------------------------
* Sanitize functions
* ----------------------------------------------------*/
//Kills all dangerous user inputed code
function FilterHTML($string) {
if (get_magic_quotes_gpc()) {
$string = stripslashes($string);
}
//rest of functions code...................................
)
?>