All posts in PHP

Create your own php capcha script in 10 min

Spam protect your form with php captchaSpam is unfortunately a problem for many webmasters. One of the favorite methods for spammers is to use web forms without any kind of spam protection.

A form can be spam protected very effective by adding a captcha field that requires the user to enter a security code before the form can be submitted.

In this post you’ll learn to create a simple PHP based form that has a built in captcha for spam protection.

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Caching Feedburner subscriber statistics for blog or website

Cache Feedburner statistics for better performance and flexibilityMany of the big online Kahunas like Smashingmagazine and Mashable are displaying how many subscribers their RSS feed are having.

Displaying the number of feed subscribers can be a good idea from a marketing perspective since many subscribers to some users  equals that the site has big credibility.

Feedburner is one of the most popular RSS tools, and Feedburner also offers offers a widget that can be used to display the number of subscribers to your RSS feed. However since the Feedburner widgets uses javascript to fetch feed statistics from Feedburner, these widgets can potentially slow down your site.

In this post you’ll learn how to use the Feedburner API and PHP to fetch feed subscription data, and display these data on your site or blog in a efficient way

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Create your own RSS feed with PHP and Mysql

Create a RSS feed with MySQL and PHPA RSS feed is a great way of distributing your content to new and existing users. RSS feeds are a fine alternative to email newsletters, since users can read the feeds when they want, and modern feed readers givers the users great overview over many feed sources.

In this post you can learn how easy it is to create a RSS feed with PHP and MySQL

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

The secret Google Stock API

The secret google stock api for NASDAQAre you looking for NASDAQ stock information, then maybe the secret Google Stock API can be helpful.

This API is not a part of the official Google API family, which means that the usage rights are unclear, and the API isn’t supported by Google.

However the API is very useful, so I’ll illustrate the possibilities with the API in this post.

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Local weather with PHP and Google Weather

How to display local weather with Google Weather API and PHP Local weather can be great content on a website or blog.

There are many different services that provides local weather.

In this post we’ll build a small PHP script that uses the Google weather API.

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Tagcloud with PHP and MySQL

Create a tagcloud with mysql and phpA tagcloud is a great way to illustrate what content on your site is the most popular.

In this post we’ll build a tagcloud script based on PHP and MySQL.

The script uses very basic HTML and CSS that you can easily customize to reflect the look and feel of your site. Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Customized Google Search engine in PHP

Create a customized Google Search for your siteGoogle has a great AJAX API for integrating Google search on your own site.

However if you want to tweak layout and functionality, the AJAX API can be difficult to work with.

In this post we’ll build a Google Powered web search in PHP, where you can customize the look and feel anyway you like, and easily add enhanced functionality like screenshots, or whatever is relevant for your site.

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS