//get session for this person for this browser session
$expiretime = 60 * 60 * 24 ; // day
session_set_cookie_params( $expiretime );
session_start();
//log visit
$link = mysql_connect('localhost', 'damionhh', '8ball911');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
$selected = mysql_select_db('damionhh',$link)
or die("Could not select damionhh database ".mysql_error());
// make query
$query="select * from damion where Session_ID='".session_id()."'";
//print $query;
$result = mysql_query($query);
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
// check to see if we found it. if we did then dont add any more
$num_rows = mysql_num_rows($result);
if ($num_rows == 0)
{
// try IP address
// make query
$query="select * from damion where Host='".$_SERVER["REMOTE_ADDR"]."'";
//print $query;
$result = mysql_query($query);
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
// check to see if we found it. if we did then dont add any more
$num_rows = mysql_num_rows($result);
if ($num_rows == 0)
{
$query="insert into damion (Session_ID, Host, Referer) values ('".session_id()."','".$_SERVER["REMOTE_ADDR"]."','".$_SERVER["HTTP_REFERER"]."')";
//do query
$result = mysql_query($query);
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
}
else
{
// we found the record, update their visits
//get current number of visits to home page
$thisrow = mysql_fetch_assoc($result);
//build update query
$numvisits = $thisrow["numvisits"];
if ($numvisits < 0)
{
$numvisits=1;
}
else
{
$numvisits ++;
}
$query = "update damion set lastvisit='".date("y.m.d H:m:s")."', numvisits=".$numvisits." where Host='".$_SERVER["REMOTE_ADDR"]."'";
$result = mysql_query( $query );
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
}
}
else
{
// we found the record, update their visits
//get current number of visits to home page
$thisrow = mysql_fetch_assoc($result);
//build update query
$numvisits = $thisrow["numvisits"];
if ($numvisits < 0)
{
$numvisits=1;
}
else
{
$numvisits ++;
}
$query = "update damion set lastvisit='".date("y.m.d H:m:s")."', numvisits=".$numvisits." where session_id='".session_id()."'";
$result = mysql_query( $query );
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
}
?>
soundmixer.tv / hauxaudio.com
based in austin, tx available in austin, dallas, houston, san antonio, and around the world! recording.live.touring.eng
Experienced with all makes and models of BETA SP, DV, and HD broadcast cameras
Documentary and Independent film experience, Film and Commercial Set experience
Most importantly, world travelled with a good attitude and an easy professional personality.
Well versed in live PA equipment, sound consoles, video projection and display, and recording studio environments
ENG, Film, and Commercial Audio:
Sound Devices 3 to 8 channel
5 Incoming Lectrosonics Frequency Agile UHF wireless
Stereo Outgoing UHF Agile Zaxcom 2 Channel
TRAM lavaliers & Sennheiser 416-P48 boom mic
Gentner phone interface
Timecode cassette or MP3 transcription
Time code burn realtime DVD, leave the shoot with a copy for scripting!
Hardwire umbilicals & BNC cabling for multiple camera interviews
Any and all adapters, preamps, headphone amps required to handle any setup
IFB Producer/Talent cueing system w/ headphones or earpieces
Portable powered setup for reality TV, ENG, Run & Gun
Timecoded 4 Channel Hard Disk Recording for Reality TV or Commercial/Film
Digital Recording:
16 Channel Mackie
8 Input Firewire Recording
Snakes and Cabling for sound stages, green screen, location sound
Microphones for stage productions, live music, video playback