Vista Convention Services Exhibitor Kit

Enter you expo kit login information '; echo '
'; echo ' '; echo ''; echo '

'; echo ' '; echo ''; echo '

'; echo ''; echo '
'; } function authenticate($username, $password_input){ include "server_settings.php"; include "download.php"; $con = mysql_connect($mysql_host, $user, $password); if(!$con){ die("Could not connect to mysql server" . mysql_error()); } @mysql_select_db($database) or die( "Unable to select database"); $query = "select password, id from expo_kit where username = '$username';"; $result = mysql_query($query); if(!$result){ echo 'Mysql query: ' . mysql_error(); die(); } $row = mysql_fetch_assoc($result); $real_password = $row['password']; $id = $row['id']; mysql_close($con); if($password_input == $real_password){ echo ''; return true; } echo '
'; echo 'Sorry invalid login/password combination; echo '
'; return false; } ?>