Quote:
Originally Posted by DragonByte Tech
Hey there, hope you're not too offended if we pop in here and resolve this. It just requires the use of PHP.urlencode(); 
|
I'm already using that...
Code:
if ($ajax)
{
$message = convert_urlencoded_unicode($message);
}
I also personally feel that using checks like "function_exists()" is a big mistake. I think a program should either DEGRADE gracefully and silently without the user knowing, or FAIL as loud as possible. If you start using "function_exists()", the program doesn't degrade as it should, it instead FAILS, but it doesn't tell anybody it fails; no one knows it failed until things just don't work as it should. Error messages are there for a reason, to inform you that there was an error.