A while ago I wrote an article about the common pitfalls of handling file downloads in PHP. One thing I did not realize at that time is that in most cases developers don’t have the time to write such a script and they’ll use whatever they can find, even if it has flaws. Because of this, I decided to write a download script and release it free for everyone with a BSD License. It’s not a class, just a script that accepts a “file” parameter via GET or POST and outputs the file. For security purposes any paths are stripped and replaced with a path in the script (the folder containing the downloadable file(s) should be protected against direct access).
In this simple guide, we will teach you how you can achieve the cardboard paper effect in business cards. It is fairly easy to do,
Green is the buzz these days and what better way for your brand or headlines to exude eco-friendliness than by turning them to grass? Add
The way the iPad is growing in its functionality, popularity and usability, it was about time that it provided a way to edit and work with photographs too.
Adobe engineers have been busy adding features to the next version of Photoshop. While officially there’s no commitment (with good reason, since Photoshop CS6 is still in development and the features may change), it’s a pretty good bet that we’ll see all of these in action sooner rather than later.
Here’s a free, automated method to backup your site, including any databases. What you need is either a VPS hosting service or at least one that gives you SSH access. Your local computer can be Windows, Mac or Linux. I’ll write about Windows, since Linux users probably already know how to do this.
A slew of photography and film apps have been developed for Apple’s iPad. Appealing to professional and amateur photographers alike, many photography apps have been developed for the iPad. The iPad’s large touchscreen and high resolution is extremely conducive to photo viewing and photo editing.
I’ve seen many download scripts written in PHP, from simple one-liners to dedicated classes. Yet, at least half of them share common errors; in many cases programmers simply copy the code from something that works, without even attempting to understand what it really does. What follows is not a complete working download script, but rather a set of issues you should be aware about and that will allow you to write better code.
So you got fed up with your compact digital camera and its limitations. You’ve seen those breathtaking photos taken with big black cameras. You want to be regarded as a real photographer. You might even want to make some money. Only one question remains: what should you buy? How would you choose?