mysql ver 4

Inserting backslashes before special characters for a comments form, I just discovered that the slashes are being removed before insert. So the characters are going in raw.

What could a server/host do to accomplish this? Maybe a security feature of their own?

This isn't a shared plan and I have my own version of mysql/php installed.