Currently Browsing: Home

CSS3 in IE using cssSandpaper

A few months back, I wrote an article about Giving Elements Cool Effects Using CSS3. One of the major disappointments at the time of the writing of that article was a lack of support. Back then, Firefox, Safari, Chrome, and variants supported all effects, with Opera 10.5 slated to support them.

Now, Opera 10.5 has been released, and a wide variety of browsers support these effects, with the exception of Internet Explorer, which we all know will not support things like that natively for a while.

Read the rest of this entry »

Dealing With Downtime

No one likes it when their website suddenly goes down. Whether it’s their own site or a site they run for another person, downtime causes many problems.

First of all, websites are a very important way of communication nowadays. A downed website means that a business can no longer communicate with those whom it needs to. Second of all, it provides no end of stress for both those who visit the website and those who maintain it.

But downtime is an unavoidable part of a website’s life, so we need some ways of dealing with it.

Read the rest of this entry »

3 Easy Steps to Create Excel Spreadsheets in PHP

Spreadsheets are simple files that help you manage and organize data. They are used everywhere and have become quite popular. You can find them by using Microsoft Excel, Open Office, or even an online alternative such as Google Docs.

Spreadsheet

Generating Spreadsheets

Since computers and automation have become second nature, spreadsheet generation isn’t out of the ordinary. With MySQL databases, it becomes even more imperative, as spreadsheets are perfect to represent the data located in these structures.

Upon searching for how to create excel spreadsheets using PHP, most of the results came back with libraries that do the job. This seemed to be too much of a hassle. That’s why I’ve created 3 easy steps to create excel spreadsheets without any libraries.

Download the Files

Read the rest of this entry »

Force Download Dialog Boxes

When we browse the web, we click on links. That’s what makes the web a web – the links between pages. Sometimes, those links lead us not to pages, but to files. Many types of files pop up dialog boxes prompting downloads – executables, videos, etc.

However, certain filetypes, thanks to modern web browsers, are rendered as an in-browser page, such as images, PDFs, and MP3s. While this may be a convenience, at times we may wish to force the user to download the files, not just view them in their browser.

In this article I will show two easy ways to do this. The first is using .htaccess, and the second is using PHP.

Read the rest of this entry »

Faster Page Generation in WordPress

In the modern age of the web, speed is key. Gone are the days when you opened a web page, and went outside for twenty minutes before coming back to find that the web page is almost finished loading. Even if there are still people on dial-up connections, the modern world demands speed.

stopwatch

In the past, one of the best ways to improve speed was to reduce the size and amount of the components of the webpage. More specifics of this are outlined in an older LC article about decreasing page load time.

Read the rest of this entry »