#!/usr/bin/perl -w use DBI; use Date::Calc qw(Today); use CGI qw(:standard); print "Content-type: text/plain\n\n"; $theDB = DBI ->connect ('DBI:mysql:ecsmedia', 'ecsmedia', 'S3cq8esL') or die("Cannot connect.\n"); ($year,$month,$day) = Today(); $theProduct = param("filename"); $theDate = "$month/$day/".substr($year, -2); $theReferrer = $ENV{'HTTP_REFERER'}; $Query = "SELECT * FROM productCounters WHERE Product='$theProduct' AND Date='$theDate'"; $result = $theDB->prepare($Query) or die("error preparing SQL\n"); $result->execute() or die("error executing SQL\n"); if (@row = $result->fetchrow_array) { $newCount = $row[2] + 1; $newReferrer = $row[3].",".$theReferrer; $Query = "UPDATE productCounters SET Count=$newCount, Referrers='$newReferrer' WHERE Product='$theProduct' AND Date='$theDate'"; $theDB->do($Query) or die("Invalid update"); } else{ $Query = "INSERT INTO productCounters (Product, Date, Count, Referrers) VALUES ('$theProduct','$theDate','1','$theReferrer')"; $theDB->do($Query) or die("Invalid insert"); } $result->finish(); $theDB->disconnect();
![]() |
01 |
||||
![]() |
![]() |
![]() |
![]() |
![]() ![]() |
|
![]() |
TimeSketch Editor PROTimeSketch Editor PRO has been designed to facilitate listening and analyzing music with an easy-to-use interface to create guided listening lessons from ANY audio CD, MP3, MIDI, Wave or AIF file. Define exactly which area of a musical piece or performance you want to analyze and begin adding chart marks for a bubble chart sketch to be displayed. Add synchronized text which displays at specific offsets as the audio track is played. Once the user has finished creating the colorful analysis, it may be published as a special file which can be sent over the Internet with the TimeSketch Player for an unlimited number of users to experience. |
|
Features Include:
TimeSketch Editor PRO is perfect for University Educators as well as public and private school teachers who wish to create "musical homework" for students using the Internet. |
||
System RequirementsNow available for Mac OS X and Windows XP Macintosh: OS 8.5-9.2, 10.1-10.x operating systems Windows: Windows 98, 2000, XP Single Station Price: $275.00 Hybrid CD: 1533CD (Timesketch Editor PRO is not currently available for demo download from the internet.) |
||