One annoying scenario is when you let users enter their names and then you need to output their names nicely, for example in a newsletter. Some users simply enter their names in upper/lowercase, but obviously when you address them you can’t do the same. On the other hand PHP’s ucfirst() and ucwords() functions are too naive for proper capitalization.
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, and one does not really have to be precise with the tools needed to achieve this memorable effect for business cards. For our tutorial, we will be using Adobe Photoshop […]
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 excitement to your magazine ads, postcard prints or posters by using this effect on your headlines with Adobe Illustrator. Simply follow the instructions below and you will be able to […]
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.