Report message:*
Confirmation Code*
4 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
 
* = Required

Re: Slashes in my form preview

Subject: Re: Slashes in my form preview
by lubdub on 2003/10/27 12:28:00

Well, from my own experience, I'd say there's already something like that.
Correct me if I'm wrong, but if you need to use Text input from the client, you're likely to store it somewhere. If you store it in an Object class instance, extending XoopsObject, you can use the setVar() getVar() methods to have this clean up made for you, somehow.

Otherwise, depending on your usage, you can have a look at the TextSanitizer class.

Login

Who's Online

166 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits