in reply to Re^8: Determining content-length for an HTTP Post
in thread Determining content-length for an HTTP Post
Of course, the use bytes / length() solution is not perfect (just see my examples [5] and [6] above). But it is a reasonable approach considering that we do not know what the OP's $xmldata is and that "normal" users are usually not fiddling with the UTF-8 flag.
|
|---|