Home » Archive for July, 2010

I have an array with many values and I need to do a search to find all the values that match a pattern. We have functions like in_array & array_search in PHP, but these functions basically try to match the exact needle value in the array. I need to use my Regular Expression Pattern and find all the array values that match the regex pattern. The...
In this tutorial, learn about the get_browser() PHP function and its configuration. We’ll learn how to use Gary Keith’s browser information database (browscap.ini) with the PHP browscap directive. I wanted one of my web applications to have a different appearance on mobile phones and devices. I didn’t really want to set up an entirely...

Page optimized by WP Minify WordPress Plugin