The Challenge
The police department needs to store the video files containing the violations of traffic regulations and maintain the information regarding the same. They are required to store the information and the files such that they can be easily retrieved and delivered to who so ever has a need for them. This has resulted in increased resource requirements because of the need to handle a high volume of the video/audio files produced daily and has added to the overall cost of storing and processing of the digital video files with embedded audio tracks and related information.
The Solution
EBSLite can play and copy video formats like MPEG 1,2,4, AVI, MJEG, MOV and audio formats like WAV, MIDI and MP3 to the specified hard disk location, maintain a database of the information regarding the files and provide easy access to the files and the related information whenever required. EBSLite is a windows application, designed using Microsoft .NET framework, an application architecture that is both scalable and modular. It is based on a multi-tier architecture for easy expansion as the usage increases. Under the secure control of EBSLite, the contents of portable file storage units can be uploaded, sorted, searched, retrieved and copied very efficiently. The system for deployment is based on client server technology.
The Technology Microsoft VB.Net, SQL Server 2000
The Benefits
The system offers an easy-to-use cost-effective solution to storage and maintenance of digital video files with embedded audio tracks. The application requires minimum of administration and maintenance effort thus reducing the client's total cost of ownership.
";
if($exit == 1)
exit;
}
return $db_rec_row_array;
}
//use to insert record
function insert($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has insert word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^insert/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "
";
exit;
}
return $this->result;
}
//use to update record
function update($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has update word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^update/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "
";
exit;
}
return $this->result;
}
//use to insert, update, replace and delete record
function delete($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has delete word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^delete/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "