customer_eav_attribute, fist name validate rules, what does "s:15" mean?

by PaddyD   Last Updated June 13, 2019 11:09 AM

Is is following on from this question: Spam customer registrations, CAPTCHA not stopping it, Max field rule being bypassed

That answer worked, but in the last few days its been happening again, and the bots are getting 60+ characters in the first name field even though it limited to 65 (as suggested in the answer) in database. I then changed it to 42 (as it a limit of 40 in the actual website), but they are still get though.

So the rule was:

{s:15:"max_text_length";i:255;s:15:"min_text_length";i:1;}

and now its

a:2:{s:15:"max_text_length";i:42;s:15:"min_text_length";i:1;}

What does "s:15" mean, is that adding to the 42?

ThankS

Tags : magento-1.9


Related Questions


Updated September 01, 2016 08:05 AM

Updated May 21, 2017 16:09 PM

Updated May 24, 2015 02:04 AM

Updated July 21, 2017 21:09 PM

Updated May 16, 2018 16:09 PM