Testprograms

attachHtmlsource Sends a mail in plain text where a HTML-file is send along.
calendarsource A nice little calendar with indication for holidays and posibility for own appointments.
chesssource A chessgame for two players. It does not have a competitive engine, so you can't play against the computer.
cprsource A page that generates all valid CPR-numbers (Denmark), taking any of three parameters (year, month and day). As this page generates a lot of data, you should at least incorporate the year-parameter (1858-2057).
create_thumb
dateFromWeeksource Retreives the first and last dates of a given week in a given year (eg. week 28 in year 2006).
fileuploadsource Uploads up to three files and attaches them to an email.
fileupload_thumbsource Uploads up to three files and places them in the pics-folder and creates a thumbnail in the pics/thumbnails-folder. The result cannot be seen on this page but you can download the code and try it on your own server.
gallerysource This gallery is easy to set up. Just tell the script how many elements you want on the line, the maximum width of the thumbnails, the startpath and whether or not you want to exclude vertical photos as folder-previews and you are ready to go. It takes both jpg and gif-images and handles nested folders, as long as every folder contains images, and selects a random image from a given folder as its 'representative'.
jsonsource Call json-service, either directly at the source or locally though a dummy-site that calls the source (to avoid security issues).
mailsource Sends a mail with both a plain text-version and a HTML-version
mailLocalfilesource Sends a mail with a locale file as an attachment.
regexpsource A small example of using Regular Expressions
sunrisesource A small program that calculates sunrise and sundown on any given date, in Aalborg, Denmark.
validateCprsource A page that validates a CPR-number (Denmark).