Lo he echo asi pero no me codifica correctamente:
Código PHP:
function httpp($texto){
$texto = ereg_replace("[a-zA-Z]+://([.]?[a-zA-Z0-9_/-])*", "<a href=\"http://www.okysex.com/out.php?web=".base64_encode('\\0')."\">\\0</a>", $texto);
$texto = ereg_replace("(^| )(www([.]?[a-zA-Z0-9_/-])*)", "\\1<a href=\"http://www.okysex.com/out.php?web=http://".base64_encode('\\2')."\">\\2</a>", $texto);
return $texto;
}
ALGUIEN ME PUEDE AYUDAR ?