NEW!!! This is now a WordPress Plug-in!!!

6/1/2005 - I’ve modified this into a WordPress plug-in. The original PHP code can still be found below, behind the cut tag.

Current Version: 1.0

About:
This plugin will allow the user to call a dsp_firefox_downloads() call in php code to allow them to display a the current number of Firefox downloads. They can format and utilize this number anywhere in their templates. Original code was by Smargoth and then I heavily modified it to use CURL libraries.

Installation Instructions:

  1. Download Firefox Count.
  2. Rename the file to firefox.php.
  3. Drop the file into your wp-content/plugins/ directory
  4. Open your WordPress Admin Panel and go to the Plugins tab.
  5. Activate the plugin

Template Tags:

dsp_firefox_downloads()

No arguments are taken by this function.

+ Original PHP Code

Original Code Sample


 

 

Join me at: SparkPeople.com

Get a Free Online Diet

 

 

 




Spam Karma 2 has sent 81407 comments to hell and 78 comments to purgatory. The total spam karma of this blog is -2685. What's your karma?