The FreeDB Database search is an experimental service\n"; print " under development. It is in no way to be considered\n"; print " a commercial service."; print "
The FreeDB Database is currently offline
\n";
print "
As per typical Marketing, some major enhancements are being\n"; print "added to the fill text searching algorithms, stay tuned!\n"; } else { # Start a timer, to time SQL operations # FTSS has up to 10 timers pg_FreeResult( pg_exec($conn, "select ftss_time_start(1)") ); # Format the SQL search call $sql = "select webquery.*, ftss_key_rank(result.songid) as rank from webquery, ". "(select ftss_direct('all { ".trim( $query)." }') as songid) as result ". "where webquery.songid = result.songid order by ftss_key_rank(result.songid) desc"; # Show the search as an HTML comment print "\n"; # Execute the FTSS call using the PostgreSQL FTSS functions $res = pg_Exec( $conn, $sql ); if($res) { $count = pg_numrows($res); if($count) { print "
cdid | \n"; print "artist | \n"; print "title | \n"; print "song | \n"; print "trackid | \n"; print "rank | \n"; print "
$cdid | \n"; print "". pg_Result($res,$i, "artist") . " | \n"; print "". pg_Result($res,$i, "title") . " | \n"; print "". pg_Result($res,$i, "song") . " | \n"; print "". pg_Result($res,$i, "songid") . " | \n"; print "". pg_Result($res,$i, "rank") . " | \n"; print "
The FreeDB Database search is an experimental service under development. It is in no way to be considered a commercial service. What you see here is code that is under development. It is started and stopped at no predefined intervals, and is frequently off-line.
Data presented here was obtained from the freedb CDDB alternative, which can be located at www.freedb.org