


Leo en Cristalab un útil manual que nos puede ayudar a proteger un poco nuestos archivos PHP del servidor.
Para ello necesitamos añadir una directiva en nuestro .htaccess o directamente en el archivo de configuración del servidor Apache.
Opción 1:
# Hacer que el codigo PHP parezca como otro tipo de codigo AddType application/x-httpd-php .asp .py .pl
Opción 2 :
# Hacer que el codigo PHP parezca como de tipos desconocidos AddType application/x-httpd-php .bop .foo .133t












Octubre 15th, 2007 at 10:37 am
Sobre este asunto y otros consejos / trucos sobre php publique ayer un post en mi web. Que creo les pueden interesar.
http://www.leemiblog.com/Articulos/Programacion/Los-Mejores-Consejos-y-Trucos-de-PHP.html
Octubre 12th, 2008 at 9:09 pm
gracias por la opcion
Abril 24th, 2009 at 6:04 pm
NO FUNCIONA, intente en mi servidor web y me bota este mensaje
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.33 Server at http://www.xxxxxxx.com Port 80″
Abril 24th, 2009 at 6:54 pm
5 minutos mas tarde, ya me funciona pero NO me muestra los archivos PHP, solo muestra HTML, osea que veo el codigo fuente y veo la programacion de PHP, acaso me falta hacer algo??