Amigos aqui si que me atascao, necesito que el valor de la variable web=
llege a su destino con base64_encode
como lo hago ?
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=\\0\">\\0</a>", $texto);
$texto = ereg_replace("(^| )(www([.]?[a-zA-Z0-9_/-])*)", "\\1<a href=\"http://www.okysex.com/out.php?web=http://\\2\">\\2</a>", $texto);
return $texto;
}
Gracias