Jump to content

Bad idea?


thenewperson

Recommended Posts

While the source code doesn't NORMALLY display in web browsers, it is, in theory, possible to open .php files and disclose the source.

 

The normal method of handling this is to create a config.php page and include it via include() or require(). As common practice being security conscious, put sensitive data in an external file.

Link to comment
https://forums.phpfreaks.com/topic/184354-bad-idea/#findComment-973247
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.