thenewperson Posted December 8, 2009 Share Posted December 8, 2009 Iv noticed that php coding isnt seen in view source. So i was wondering is it a bad idea to put uploading testing conidtions on the same page as the uploader that users use? Link to comment https://forums.phpfreaks.com/topic/184354-bad-idea/ Share on other sites More sharing options...
System_Override Posted December 8, 2009 Share Posted December 8, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.