How-to show popular posts on your WordPress blog?

Yesterday I replaced my list of current PHP articles on this blog with a list of popular articles. I’m sure it’s possible in WordPress to get those list if you count the number of comments, but actually I was looking for solution based on real traffic. Since I’m using WordPress.com Stats, I would like to [...]

Search for photos using PHP and the flickr API

This PHP tutorial will show how to create a simple PHP class to search the flickr site for some photos. To get the data we use the flickr API to run a simple search and return the results in a serialized array. We will be using the php function "file_get_contents" to receive data from flickr. [...]