If you have $customheaders set in the includes file then an error is thrown on line[code] $headers=[red]substrreplace[/red]($headers,'',$startpos,($endpos-$startpos)+1);[/code]
I think it should be: [code]$headers=[red]substr_replace[/red]($headers,'',$startpos,($endpos-$startpos)+1);[/code]