Discussion: Missing PHP function in comment script
Afficher un message
#1
Vieux 20/12/2005, 20h19
Post Missing PHP function in comment script
tomilipin
-
Basic
Date d'inscription : décembre 2005
Messages : 9
tomilipin est déconnecté
Hi, I would like to inform you about missing
Code PHP:
stripslashes(); 
function within a comment script. Without this functions some comments looks like follows:
Citation:
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 :)

Réponse avec citation Haut de page