Emanuele Feronato
Strip non alphanumeric characters from a string with php
Very simple and useful code, but hard to find in the internet. You may need it when you code an user authentication script and want to prevent the user to hack it with ascii injection. I will use regular expressions because it is the quickest way, and we want to be quick (almost) everytime… $new_string … Strip non alphanumeric characters from a string with php
Enhanced country selection with Css and Javascript
How many times you had to choose your country in a form, with a old, simple popup? Time to change the way you choose your country (or anything else) with a bit of Css and Javascript. I am showing the example in a iframe not to mess with WordPress styles. As you can see, when … Enhanced country selection with Css and Javascript
Photoshop photo to pastel sketch action
Converting a photo into a pencil or pastel sketch is one of the most challenging task to automate with Photoshop. Here it is an attempt. Run the action on a photo and let me know what do you think about it. Please give me feedback and send to my email any good result you achieve … Photoshop photo to pastel sketch action
Photoshop Lomography Photo Action
I am always looking for nice effects to give to my photos. The “Lomo” effect is one of them. From Wikipedia: Lomography is a commercial trademark of Lomographische AG, Austria for products and services related to photography. The name is licensed from a former state-run optics company LOMO PLC in St. Petersburg, Russia. The 35 … Photoshop Lomography Photo Action
