This commit is contained in:
Laurent Destailleur
2008-04-21 13:04:19 +00:00
parent 54cb89d45a
commit dc9ef3aa2e

View File

@@ -2485,9 +2485,11 @@ function clean_html($StringHtml,$removelinefeed=1)
}
/**
\brief Convertir du binaire en h<EFBFBD>xad<EFBFBD>cimal
\param string bin
\return string x
\brief Convert a binaray data to string that represent hexadecimal value
\param bin Value to convert
\param pad Add 0
\param upper Convert to tupper
\return string x
*/
function binhex($bin, $pad=false, $upper=false){
$last = strlen($bin)-1;
@@ -2512,6 +2514,7 @@ function hexbin($hexa){
return $bin;
}
/**
* \brief Replace CRLF in string with a HTML BR tag.
* \param string2encode String to encode