Using CGI to Create Pages

Introduction

CGI and other server-side technologies such as PHP can be used to dynamically generate references to streaming movies. Generating references via server-side technologies provides these advantages:

Useful text formats for scripting

Since server-side technologies are excellent at returning text, the following QuickTime supported text formats are common for the applications outlined above. Note: The PHP examples shown directly below assume that the web server is running on the same system as the streaming server. The Perl example could be used on any web server as it accepts an absolute url to the streaming movie.

Redirection Scripts

Using the basic techniques outlined above, more sophisticated server-side capabilities can be developed. URL redirection is a good example. In the downloads section of this site there you will find some simple Python scripts that provide load balancing and redirection between multiple streaming servers.