Archives for: "June 2010"

Browser Based Audio Preview / Listen - IE6/7/+, FF2+ - HTTP/HTTPS

The following code segment is an extract from a Smarty template which allows you to embed Windows Media Player in a web page and use javascript to initiate playback. AUDIOFILE.WAV is a marker name, you will need to use a valid URL.The code uses two… more »

ErrorDocument * index.php

Using a site's home page as an error document is a good way to prevent people and 'bots from learning more about the site architecture. Routing all error requests to the home page, or some other page, will reduce information leaks, such as 'file not fou… more »

Wicked Good Gallery - Lightweight LAMP, Easy to Administer

The Wicked Good Gallery grew from an idea mentioned at http://w3schools.com/forum and discussions with the people at http://lilyclaireart.com. The challenge was to build a gallery application that would allow site visitors to view and purchase artwork… more »