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 map? If you want just a map with no dynamic interface, Google Static Maps is [...]
View Posts by Author
-
Making Google Static Maps a Little More Dynamic with PHP
Published: March 17th, 2010 by: Andrew -
Parse ZFP (Zone Forecast Product) Data in PHP – Option 1
Published: March 3rd, 2010 by: AndrewIn 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 any English-formed forecasts. For that, we have to go to the Zone Forecast [...]
-
Merge Image Layers in PHP
Published: July 17th, 2009 by: AndrewIn 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 the images separately using CSS. Here is how to do it.
-
Loading INI Files in PHP
Published: April 14th, 2009 by: AndrewPHP 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 native PHP function. How cool is that?
-
Separating the Application & Presentation and Alternative Syntax
Published: March 18th, 2009 by: AndrewOne 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 organize, and they end up with a PHP & HTML mess. I believe that it is [...]
-
More Examples with Parsing NDFD Data in PHP
Published: March 3rd, 2009 by: AndrewI 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 this article, I will cover the time-series option as well as some methods on how to make [...]
-
Parse Current Weather Conditions Data from the NWS in PHP
Published: February 26th, 2009 by: AndrewIn 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 Forecast Data (from the NDFD) in PHP. For this article, I will show how to [...]
-
Parse Weather Forecast Data (from the NDFD) in PHP
Published: February 19th, 2009 by: AndrewIn 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 this data as well as sample code. For this article, we will start with the [...]
-
Create Dynamic Banner Ads for Blogs & News Sites
Published: February 12th, 2009 by: AndrewWhen 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 current sales or latest blog posts is a great way to get repeat clicks and return visitors. In this article, [...]
-
Akismet Class/Library for Codeigniter
Published: February 5th, 2009 by: AndrewUsing Akismet to block spam on your Wordpress blog is a no-brainer, but what about your custom blog or article site? It is possible to extend the Akismet anti-spam service to your own custom website. In this article, you will find a fully functional Akismet library for CodeIgniter as well as instructions and [...]


