Monthly Archives: June 2011

How to Create .htaccess File on Windows 7 Easily

Do you feel dumb when you don’t have any ideas about how to create your .htaccess file for apache2 URL rewriting purpose on Windows 7? I had been in your position too, I had felt dumb when I couldn’t create .htaccess file in a folder. Until I found the way to create it easily. So, […]

PHP Example: preg_match() USA Telephone Number Matching

I’ve practiced about how to match USA telephone number format in different format using preg_match() function. The first time I found the exercise is in the Learning PHP 5 by David Sklar. In B8 exercise we have to write PHP script: regular expression that flexibly matches a U.S. phone number whether or not it has […]