PDA

Voir la version complète : Missing PHP function in comment script


tomilipin
20/12/2005, 20h19
Hi, I would like to inform you about missing stripslashes();function within a comment script. Without this functions some comments looks like follows: Some text and the \' single quote meaning that your script adds slashes (it's ok) but then it does not remove them.
You may add stripslashes() BEFORE saving a comment to database or probably you may use it before printing the comment in HTML. I think the first way is better.

I don't know how to say kind regards in English (I dont know French and my English is quite bad...) so I will smile :)

bubka
21/12/2005, 17h57
thanks for the bug report tomilipin.
Next version of the galery will correct it.