Search Term Highlight Terms

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Search Term Highlight Terms

Post 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:
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Search Term Highlight Terms

Post by JAB Creations »

Bump.
Post Reply