Testprograms
| attachHtml | source | Sends a mail in plain text where a HTML-file is send along. |
| calendar | source | A nice little calendar with indication for holidays and posibility for own appointments. |
| chess | source | A chessgame for two players. It does not have a competitive engine, so you can't play against the computer. |
| cpr | source | 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 | | |
| dateFromWeek | source | Retreives the first and last dates of a given week in a given year (eg. week 28 in year 2006). |
| fileupload | source | Uploads up to three files and attaches them to an email. |
| fileupload_thumb | source | 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. |
| gallery | source | 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'. |
| json | source | Call json-service, either directly at the source or locally though a dummy-site that calls the source (to avoid security issues). |
| mail | source | Sends a mail with both a plain text-version and a HTML-version |
| mailLocalfile | source | Sends a mail with a locale file as an attachment. |
| regexp | source | A small example of using Regular Expressions |
| sunrise | source | A small program that calculates sunrise and sundown on any given date, in Aalborg, Denmark. |
| validateCpr | source | A page that validates a CPR-number (Denmark). |