I need what for UTF-8 multibyte characters support in PHP?
Posted: Mon Feb 11, 2008 3:35 pm
I need to request my server admin to add a PHP library item to get SEHL to work on my site. I just spent about an hour or so working with script's creator to figure out the exact problem. I'll try to get as many necessary details as I can to help you folks help me know what I need to exactly ask my server's admin to add to PHP's library. I'm also giving this link to the original author so he can add it to the FAQ or whatever he has. The script works perfectly fine locally so it helped us greatly knowing it was a server specific issue. Any way the info...
Brian Sudu's Search Engine Highlighting
http://suda.co.uk/projects/SEHL/
How we triggered the error...
When you run the script open the file: results.php. You'll need to comment out ob_start and ob_end_flush();.
Secondly you'll want to directly add the following line (in the first instance of PHP after the body element...
You then need to open example.php which emulates a search engine and will send an search engine like referrer to trigger the PHP script.
If the library is missing you get the following error message (minus my server's absolute path)...
Brian said my server does not support UTF-8 multibyte characters.
So what exactly should I ask my server's admin that he will not have to ask me any questions to resolve the issue? Thanks in advance!
Brian Sudu's Search Engine Highlighting
http://suda.co.uk/projects/SEHL/
How we triggered the error...
When you run the script open the file: results.php. You'll need to comment out ob_start and ob_end_flush();.
Secondly you'll want to directly add the following line (in the first instance of PHP after the body element...
Code: Select all
include ("sehl-1.8.3.php");
sehl('some text here winter all');If the library is missing you get the following error message (minus my server's absolute path)...
Line 238 looks like this for anyone who is so smart they don't have to download the script.Fatal error: Call to undefined function mb_strlen() in sehl/sehl-1.8.3.php on line 238
Code: Select all
if (mb_strlen($hl,'iso-8859-1') > mb_strlen($hl,'utf-8')){So what exactly should I ask my server's admin that he will not have to ask me any questions to resolve the issue? Thanks in advance!