[Pmwiki-users] Re: Safer .php-files
Thomas -Balu- Walter
list+pmwiki-users
Fri Feb 27 07:17:31 CST 2004
On Fri, Feb 27, 2004 at 01:36:22PM +0100, Christian Ridderstr?m wrote:
> Could someone comment on the risk of showing the contents of the php file?
> I.e., why do an exit() instead of showing the file?
PHP files might contain configuration variables and similar.
> PS. For the files in scripts/ this isn't very important, but in order
> to document/let other see your configuration files, it's convenient to
> be able to show them somehow.
Your server might not be configured to do so, but copying/linking them
to a file with the ending .phps will show them syntax highlighted.
Balu
More information about the pmwiki-users
mailing list