UPDATE: Simon Brown of Safecoms has contacted me to point out a couple of — oh, let’s say gaping — security holes in my script that could allow access to any file on your system through my script, as well as the possibility to attack another computer. If you grabbed the script before noon October 21st, please replace the contents of markdown_file_results.php with what’s below. This code is now correct. Thanks again, Simon!
In the comments on the 43folders post about putting everything in one big text file (inspired by this posting in O’Reilly’s Developer Weblogs) the topic of Markdown and Textile came up quite a bit. This inspired me to finish a couple of really basic PHP scripts on which I’d been working. Continue reading