Programming
PHP tip: omit ?> from PHP only files
Great tip from the Zend programmer’s Reference Guide: For files that contain only PHP code, the closing tag (”?>”) is never permitted.
.
Read the full article.
MySQL STRICT_TRANS_TABLES mode and truncated text values
I just upgraded Apache, PHP and MySQL to their current versions on my development system. After that a unit test of one of my PHP classes failed on inserting a row in a MySQL table. The test inserts text with a greater length than the maximum column length of a VARCHAR column.
This test fails […]
Read the full article.
COBOL example
In my comment on the post Logical flow of an Interactive program the structure of the COBOL source code got lost, here is how it’s supposed to look:
Read the full article.
Archives for a category WordPress plugin
For the new version of this website I wanted to show a list of monthly archives, limited to posts of a specific category. The software used to run this website is WordPress but the wp_get_archives() function, to get a list of archives, does not have the ability to filter on category. So I created the ‘Archives for a category’ plugin that enhances this function to show archive links for a specific category.
Read the full article.
Digg enhancer greasemonkey script
Everytime I looked at Digg it bothered me that the boxes with the number of diggs in front of each news item overlaps with a the start of the text.
So I made a litte Greasemonkey script that move the text to the right. And at the same time it removes the upper limit of the […]
Read the full article.
Dynamic Drive
Dynamic Drive is a collection of cross-browser compatible DHTML & Javascripts in several categories like Dynamic Content, Form Effects, Games and Menus & Navigation. The scripts are free for personal and commercial use.
Read the full article.
U3
U3 lets you carry programs and personal preferences, launch software, and access all of your own data on any Windows XP or Windows 2000 PC from a USB stick.
Read the full article.
Harnessing the BackPack API - Part I
The article Harnessing the BackPack API takes a look at the BackPack API and puts it to use with C#. This first article covers how to set up a free BackPack account, grab the XML Token needed, and delve into connecting to the server to send commands and data back and forth. We’ll do this […]
Read the full article.
Putting the geo position in a Wordpress RSS feed
The last few days I’ve been looking at adding geographic information to articles on this website. For WordPress, the software this site is running on, I found the Geo plugin with which you can store geographic coordinates for an article. The plugin adds this information to the page of each article, but not in the […]
Read the full article.
PHP, caching and the flickr api
PHP, caching and the Flickr api is a simple example using PHP to access and cache requests to the Flickr API. This is the method used to create the flickr world map.
Read the full article.