doubledee Posted November 14, 2011 Share Posted November 14, 2011 Is it true that PHP Comments are hidden from end users? And is it dangerous to put extensive comments in your code (e.g. links to developer sites, article excerpts, etc)? I am re-factoring my website, and have found some really helpful articles that I'd like to post in my code so I don't forget what I'm doing 6 months from now, but don't want to cause any issues. (I know this sounds wimpy, but I am a newbie?!) Debbie Quote Link to comment https://forums.phpfreaks.com/topic/251090-comments-and-security/ Share on other sites More sharing options...
kicken Posted November 14, 2011 Share Posted November 14, 2011 Assuming your server is properly configured to execute PHP files (rather than serve them as is), none of your actual PHP code (including PHP comments) will be visible to the end user. Quote Link to comment https://forums.phpfreaks.com/topic/251090-comments-and-security/#findComment-1287912 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.