
Originally Posted by
nagelkruid
Hello Clyde,
Sorry if my question is allready in here somewhere, i did try reading some of the posts, but digging through 70 pages of comments is not gonna work for me so i'll just shoot.
First off: thanks for the contribution, great stuff.
1. I have a concern abouth the maximum input, is there any maximum to what a user (or script) can input in the text field?
There is probably a maximum to what php can intake but i don't know about that. Is there a way to limit the allowed input to say 1000 chars?
2. Is it possible to do some sanitation on the input and if not matched just drop the message. (just to rule out james ######## and his friends) I would think off a setting that could be enabled in the admin that if the number of words including www or http:// exceeds the amount of 5 it would either silently discard the message and not even enter it in the database, or produce an error message that there are too many links in it.
I would take it no well meaning testimonials person would put that many external links in there.
Thanks,
Jeroen