View Source

Something I find crucial to web development is finding out how the heck they did that. I (along with some other friends) consider myself to be a PHP wizard (thoughts come to mind of heated discussion on ##php about this topic, and yes. I do know how to make an extension. I’m quite familiar with the sources). So why should I keep what possibly may be the best and brightest ideas in PHP away from public eye? This is why I created my source viewer.

You browse to /source/ and tack on the file you want to see with the f parameter. To view the source viewer itself, you use /source/source.php. Simple, no? I’ve worked hard to make it impervious to crackers trying to gain access to my site. I don’t appreciate malicious attempts because I find those people to be ignorant of security and privacy. Innocent attempts to try and find vulnerabilities are welcomed as long as I hear about them before damage is done. The page itself has some useful links to important files used throughout my site. Have a go! You might learn a trick or two.

Having this public source viewer helps to give me a heightened sense of security. If I know they can see the file, I know that they can find any vulnerabilities in the code.

Leave a Reply