Re: cvs: pearweb /public_html account-edit.php /sql users.sql
| From: | Martin Jansen | Date: | Tue, 25 Oct 2005 10:39:51 +0000 |
| Subject: | Re: cvs: pearweb /public_html account-edit.php /sql users.sql | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-4564@lists.php.net to get a copy of this message | ||
On Tue Oct 25, 2005 at 01:1301AM -0000, Helgi Þormar Þorbjörnsson wrote:
> + if ($k == 'userinfo' && strlen($user_data_post[$k]) >
> '255') {
The return value of strlen() is int, not string.
> + . '<p class="cell_note">(limited to 255 chars)</p>',
I suggest we use "characters" instead of "chars", and to some extent I
agree with Daniel that 255 is a bit too small. Right now 97 users have
more than 255 characters in their userinfo field, but only 18 of them
go above 500, which is why I'd prefer to go for a limit of 500
characters.
- Martin