Mar
19
WebDAV Mac Lion Server
Recently I needed to setup an easy way to access content on an iPad. WebDAV seemed to be the best way to go, and in my case, this did work out well. Using this method, I am now able to access various files, i.e. documents, images, MP3s on the iPad with ease, well...
Feb
28
Multiple File Upload with Error Checking
I needed a way to upload multiple files into a directory. Fortunately HTML5's new multiple attribute for the file input makes this easier (for supported browsers).
The PHP processes the $_FILES array when the form is submitted. A foreach loop is used to first check...
Feb
28
Alternate Colors with PHP and CSS
When printing multiple rows from a database, it might be preferred to have each row an alternate color. I use the following technique to accomplish this.
This example assumes that you have a database table called "blog_comments" with 'bid', 'cid', 'comment',...
Feb
08
Every geek needs balance...
I have no trouble admitting that I am 100% geek, I love technology! My life is filled with it, both personally and professionally. However, this past weekend I was reminded that in order to truly enjoy it, I needed some time without it! Specifically a trip to the...