Quote:
Originally Posted by Velocd
Well, the HTML input field "maxlength" attribute does little to actually restrict the data that can be passed.
The comment field in the table customprofilepic is varchar(255), meaning it can hold up to 255 characters. I only set the INPUT maxlength value to 40, as I thought that was suitable for this hack.
Both can be changed.
|
Correct. My script just cuts off every character after the 40th one. So if someone needs to go beyond the 40 characters he can just uncomment this cut function and he will have all 255 characters available assuming that he changes the input field from 40 to 255.
But no one is interested in this script so far. I am fine with the 40 characters.
Cheers,