I removed the blank space after the hello in preg_match and test it and it well now return true for
hello
hello all
hello!
Hello
HeLLo
But for safty It well return false for
hello <-note the blank in front
just said hello to jane and she is not happy
PHP Code:
if(strtolower($message) == 'hello' OR preg_match("/^hello(.*)/",strtolower($message),$m))
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in
BT.Manager™ forum
My Current Demo is here
http://demo.btmanager.org/