[thelist] What is SOP on Include files in PHP?

Philippe Jadin philippe.jadin at 123piano.com
Tue May 29 14:15:43 CDT 2001


> I'm reading that it's good practice to set up include files with an .inc
file source to separate
> them from normal PHP script?  What are your thoughts on this?

Huge security risk as you may have noticed, because .inc files are not
normally parsed by php. I'd use .inc.php instead if you really need. But
it's really a matter of personnal preferences.

Philippe





More information about the thelist mailing list