Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/06/2012, 01:52
thezzin
 
Fecha de Ingreso: septiembre-2008
Mensajes: 350
Antigüedad: 15 años, 7 meses
Puntos: 31
Respuesta: En busca de un filtro de palabras

Código PHP:
<?php 
$txt 
'un texto con mc2 <-- cut the text to this-->mc2 @';
$ra = array('mc1','mc2','mc3','@');
$rb = array('cut1','cut2','cut3','~• ~• ~• ~• 0');
$str str_replace($ra,$rb,$txt);
echo 
$str;
?>
__________________
╬-----╬
║☺₧☻║
╬-----╬