PHP function – directory_size()
Here’s a quick PHP function that will return the size of all files in a directory.
To use: pass the directory you want to check as the only variable, eg: directory_size(“/home/web/directory”)
Here’s a quick PHP function that will return the size of all files in a directory.
To use: pass the directory you want to check as the only variable, eg: directory_size(“/home/web/directory”)
Sometimes a multipage posting can get out of hand, especially since WordPress just lists page numbers ‘1 – 2 – 3 – 4 – 5′. Enter the Jump-To plugin by UrbanGiraffe. It allows you to add a drop down box with the names of pages, allowing your visitor to jump to whichever page [...]
I’ve started a new blog at HackPhoto.com where I plan on writing about photography, Photoshop, and the like. It just goes to prove I cannot limit myself to one project at a time.
Well, I was just about to start work on another WordPress site. It appears, however, that the 3rd – and hopefully final – release candidate for WordPress 2.0 is out and ready to download with promises on their forum of the final release later this week. So I suppose I need to remove [...]
The Canon Off Camera Shoe Cord #2 (OCSC2) is a great way to get E-TTL flashes away from the camera shoe, and can make for much more dramatic or flattering images. The problem is that the cord is only 2 feet long; enough for a flash bracket, but not long enough to get the [...]
In a 12-by-18 foot garage, William Hewlett and David Packard started the company that would become one of the largest computer manufacturers in the world. In 1939 Hewlett and Packard gave birth to the Silicon Valley out of this small garage.
Following up on the cameras made of Legos from earlier today, here are plans to build a 35mm camera entirely of paper.
Two cameras, one 35mm and one medium format, made out of Lego bricks. When I get a little more time, I may have to try and make one of these.
I’m going to try this out for a little while. I downloaded a plugin called WP-ContactForm that’ll allow y’all to contact me if you want. Compliments, complains, link exchanges, whatever.
I’ve started using a plugin for WordPress called SimpleTags to handle tagging for Technorati. It’s pretty slick. For inline tags throw a <tag> around the word and it becomes a tag on publishing. If you don’t want to tag inline, you can add <tags> around a comma separated list and they’ll become [...]