Tema
:
Mostrar mi codigo fuente
Ver Mensaje Individual
#
4
(
permalink
)
20/08/2012, 13:18
Triby
Mod on free time
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 16 años, 7 meses
Puntos: 2237
Respuesta: Mostrar mi codigo fuente
No es recomendable sólo reemplazar
<
, hay funciones específicas para ayudarte con esto como htmlspecialchars() o htmlentities(), o también podrías usar el highlight de PHP:
http://php.net/manual/es/function.highlight-string.php
__________________
-
León, Guanajuato
-
GV-Foto
Triby
Ver Perfil
¡Visita mi Sitio!
Buscar todos los Mensajes de Triby