TTP Listen Form

TTP Listen Form V1.0


brought to you by the programming team at
The Test Pattern: Express Yourself
http://www.thetestpattern.com
Home of Test Pattern Radio!

Contact:

We would appreciate any comments or improvements you may have conserning this script. Please email us at scripts@thetestpattern.com. If you decide to use this script on your site, we would appreciate a note.


License: GNU General Public License

Description:
Description:

This script is designed for internet stations which broadcast two streams simultaneously, E.G. one with content for broadband listeners and another with content for modem listeners. The user selects his/her stream quality and player, and submits the form. The script takes that submitted data and sends appropriate headers and data to launch the correct player.

The script assumes that the streams are being broadcast in a format which all players can handle, such as mp3.
Variables to Edit

You must edit the $HighURL and $LowURL variables to point to the appropriate streams. The selected URL is passed to the selected player.

You may also wish to edit the PrintForm() function to display your own html, particularly the title.


View php source for this script

Download this script in a .zip archive

Return to the scripts home page.