function entityenc($str)
{
$text_array = explode("\r\n", chunk_split($str, 1));
for ($n = 0; $n < count($text_array) - 1; $n++)
{
$newstring .= "" . ord($text_array[$n]) . ";";
}
return $newstring;
}
?>
A Guide to Documentary Payments & Short-Term Trade Finance