There also looks to be a problem of your $headerfile
You are sending two headers.
Visit the "HTML Includes" tab at:
http://j30.us/ubbthreads/ubbthreads.php/forums/admin/gen_display.phpUpdate the "Header Insert For All Pages" section, to correct the page declaration information from the "Header Insert" section.
This stuff should not be in that grouping
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
There are some examples in 7.6, where there were no examples for the 7.5 series.