RE: [PHP] size of submitted textarea field in bytes
[snip] You receive a string, so you need to find a function that will return the size of a string. I bet you will find the function in string section of the manual. [/snip] A good starting place for this is string length in the manual at http://www.php.net/strlen Have a productive and positive day -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] size of submitted textarea field in bytes
You receive a string, so you need to find a function that will return the size of a string. I bet you will find the function in string section of the manual. Sn!per wrote: i have a textarea where ppl will enter their bio. after they submit the form, i need to compute the size of their bio in bytes _without_ creating any file. is this at all possible ? please advise. sample script: rgds. --- Sign Up for free Email at http://ureg.home.net.my/ --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] size of submitted textarea field in bytes
i have a textarea where ppl will enter their bio. after they submit the form, i need to compute the size of their bio in bytes _without_ creating any file. is this at all possible ? please advise. sample script: rgds. --- Sign Up for free Email at http://ureg.home.net.my/ --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php