Code Snippets
Code Snippet: Limit Words in a String
While developing websites, I’ve frequently run into clients who would like a news system integrated on their site. A news system consists of a list of articles, usually a summary at first, and when an article has been selected, the full article is displayed. So, how do you extract the summary from the content without [...]
Code Snippet: Recursive Delete with FTP
I was recently creating an administration application for a client. The app involved working with files and directories as well as uploading and deleting files or directories. While I was developing, I ran into an issue that required a special function: recursive delete.
A recursive function is a function that has the ability to call itself [...]
