Create Dynamic Banner Ads for Blogs & News Sites
When you visit a site, their usual advertisers might catch your eye once or twice, but after that, you forget it’s there. Designing a banner ad that automatically updates with information such as...
View ArticleParse Weather Forecast Data (from the NDFD) in PHP
In a previous article, I covered 5 Sources of Free Weather Data for your Site, but did not provide any actual code to use the data. Starting with this article, I will post instructions on how to handle...
View ArticleParse Current Weather Conditions Data from the NWS in PHP
In a previous article, I covered 5 Sources of Free Weather Data for your Site, but did not provide any actual code to use the data. Last week, I covered source #1 and showed how to Parse Weather...
View ArticleMore Examples with Parsing NDFD Data in PHP
I covered how to Parse Weather Forecast Data (from the NDFD) in PHP in a previous article, but due to the amount of questions I received, I decided to show some more usage techniques and examples. In...
View ArticleSeparating the Application & Presentation and Alternative Syntax
One of the biggest pet peeves I have when looking at (and unfortunately – working with) other people’s PHP code is the way they integrate their code into the HTML. Many people don’t take the time to...
View ArticleLoading INI Files in PHP
PHP parses the php.ini file for the global PHP settings, but you can create an INI file that is specific to your own PHP application. You can also load those settings into as associate array with a...
View ArticleMerge Image Layers in PHP
In a previous article, I showed how to Locate the Nearest Radar Station and Display Radar Images. A commenter, mike, pointed out the idea of merging the image layers using PHP instead of layering all...
View ArticleParse ZFP (Zone Forecast Product) Data in PHP – Option 1
In a previous article, I covered 5 Sources of Free Weather Data for your Site, but did not provide any actual code to use the data. Since then, I covered sources #1 and #2. None of these sources had...
View ArticleMaking Google Static Maps a Little More Dynamic with PHP
If you have messed with the Google Maps API, you know that the JavaScript and API keys can be a real headache. Yes, there are very complex implementations that you can use, but what if you want…just a...
View ArticleSend Print Jobs Directly from PHP
I recently learned that you can send print jobs directly from a PHP server. How cool is that? This article will cover sending print jobs from a PHP server to a printer on the same LAN. This does not...
View Article