Page 1 of 1

Search Term Highlight Terms

Posted: Tue Feb 05, 2008 6:15 pm
by JAB Creations
I've been trying to implement the following script...
http://suda.co.uk/projects/SEHL/

I've manually added the includes file 'header-sehl-1.8.3.php' in the same directory as my header includes.

I've dealing with two issues I think...
1.) In Superedi I'm saving 'header-sehl-1.8.3.php' as UTF-8 but Firefox reports the file as being encoded as ISO-8859-1. I've even manually added a PHP header as well. A big WTF? :banghead:

2.) What exactly should I do with multiple ob_starts?

Code: Select all

include("header-sehl-1.8.3.php");
ob_start("sehl");
ob_start("ob_gzhandler"); // PHP Compression
I figure I should highlight and then compress the file though I'm sure I might be missing something else.

Currently when I uncomment the script in my main header file header.php the page is blank and breaks XML (served as application/xhtml+xml).

So uh, help! :mrgreen:

Re: Search Term Highlight Terms

Posted: Wed Feb 06, 2008 3:21 pm
by JAB Creations
Bump.