i found those lines in the php and i think it has something to do with it:
ini_set('magic_quotes_gpc','0');
ini_set('magic_quotes_runtime','0');
set_magic_quotes_runtime(0);
I am using MYSQL and i will post the code soon
p.s. a part of the code was made by another programmer, that's why i discovered this thing now, so pls excuse me 🙂
edit: and being stupid by nature, i forgot to mention probably the most important thing, the script is using the fckeditor, from which I input the titles and such
include("functions/fck/fckeditor.php");