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 \brief Convert a binaray data to string that represent hexadecimal value
\param string bin \param bin Value to convert
\return string x \param pad Add 0
\param upper Convert to tupper
\return string x
*/ */
function binhex($bin, $pad=false, $upper=false){ function binhex($bin, $pad=false, $upper=false){
$last = strlen($bin)-1; $last = strlen($bin)-1;
@@ -2512,6 +2514,7 @@ function hexbin($hexa){
return $bin; return $bin;
} }
/** /**
* \brief Replace CRLF in string with a HTML BR tag. * \brief Replace CRLF in string with a HTML BR tag.
* \param string2encode String to encode * \param string2encode String to encode