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:
<?
if ($_POST['submit']) {
print "you have submitted xyz bytes";
}
else {
?>
<form method=post action="./p.php">
<textarea name="html_code" cols="70" rows="10"></textarea>
<input type=submit name=submit value=submit>
</form>
<?
}
?>
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