Why You Cannot Push a Pig Through a Keyhole Building an effective responsive design website entails much more than simply designing a responsive theme. The primary purpose for using a responsive design is to have one website that works with all viewing … [Read more...]
Google Adds Encryption As a Ranking Factor
Google made an announcement in a Webmaster Central Blog post that says using encryption throughout a website is now a ranking factor. You heard that correctly. Google wants to see Secure Sockets Layer encryption used throughout a web site. Encryption is no … [Read more...]
Automating a WordPress Copyright Notice
Automating the copyright notice on a web site with a dynamic date is easy to do with PHP. We do this on every site that we develop, including WordPress sites. Why would you want to automate the copyright date? You do not really have to update the date, … [Read more...]
Beware of Domain Registration Scams
Scam artists are at it again. Hardly a week goes by when one of my clients doesn't get approached by some sort of Internet scam. Yesterday, a client forwarded one of the latest variations of the domain name registration scam. Although this very common scam … [Read more...]
Simple Image Viewer Using PHP
We recently picked up a client whose web designers stored hundreds of images on her web server. The client is not tech-savvy and wanted to find a way to view the images on her server. We wrote this simple PHP script that can be dropped into any image … [Read more...]
Display Seasonal or Holiday Images Using PHP
We recently built a wild bird food products web site where the site owner wanted to display a summer image of birds on a bird feeder during the warm months, but automatically substitute a Christmas bird feeder image during the November and December … [Read more...]
Using PHP to Display Directory Contents With a Select List
Sometimes there is a need to display the list of files in the directory and allow a user to select a file name from the list. We run into this most often when a user must be able to select an image or a document to be downloaded or displayed after being … [Read more...]
PHP Date Select Box Routine With Date Validation
Sometimes you need to use a drop-down select box routine to allow users to select a date that you can easily save in a MySQL database. Here is one way to generate date boxes using PHP. The code also includes a JavaScript date validation function that … [Read more...]
Using the MySQL LIMIT Clause for Paging with PHP
One of the first questions that comes up when someone starts using PHP and the very powerful MySQL database is: How do I page through the results of a query like I see with search results on many web sites? This is pretty easy to accomplish if you know how … [Read more...]
Understanding Image and File Paths
I normally would not cover an issue this basic, but I receive requests almost every week for answers from aspiring (OK, call them newbie) web developers who cannot see the images on their web pages after using FileZilla or another FTP utility to transfer … [Read more...]