// ************************************************
// log database connection
// ************************************************
// $link = mysql_connect( "localhost", "clientinfo", "clientinfo2004" );
// if (!$link)
// {
// $status = "F";
// return;
// }
// else
// {
// $test = mysql_select_db ("clientinfo");
// if (!$test)
// {
// $status = "F";
// return;
// }
// }
// ************************************************
// check for cookies
// ************************************************
// if (!isset($_COOKIE['atlasmedical_id']))
// {
// $l_origid = 0;
// }
// else
// {
// $l_origid = $_COOKIE['atlasmedical_id'];
// }
// ************************************************
// create log file
// ************************************************
$l_date = date("Y-m-d H:i:s");
$l_ipaddr = $_SERVER["REMOTE_ADDR"];
$l_iphost = gethostbyaddr($_SERVER["REMOTE_ADDR"]);
$l_remuser = $_SERVER["REMOTE_USER"];
$l_secure = $_SERVER["HTTPS"];
$l_reqmethod = $_SERVER["REQUEST_METHOD"];
$l_httphost = $_SERVER["HTTP_HOST"];
$l_requri = $_SERVER["REQUEST_URI"];
$l_phpself = $_SERVER["PHP_SELF"];
$l_protocol = $_SERVER["SERVER_PROTOCOL"];
$l_qstring = $_SERVER["QUERY_STRING"];
$l_remport = $_SERVER["REMOTE_PORT"];
$l_referer = $_SERVER["HTTP_REFERER"];
$l_uagent = $_SERVER["HTTP_USER_AGENT"];
// $queery = "INSERT INTO atlasm (atlasm.origid, atlasm.date, atlasm.ipaddr, atlasm.iphost,
// atlasm.remuser, atlasm.secure, atlasm.reqmethod, atlasm.httphost, atlasm.requri,
// atlasm.phpself, atlasm.protocol, atlasm.qstring, atlasm.remport, atlasm.referer,
// atlasm.uagent) " .
// "VALUES ('" .
// mysql_escape_string($l_origid) . "', '" .
// mysql_escape_string($l_date) . "', '" .
// mysql_escape_string($l_ipaddr) . "', '" .
// mysql_escape_string($l_iphost) . "', '" .
// mysql_escape_string($l_remuser) . "', '" .
// mysql_escape_string($l_secure) . "', '" .
// mysql_escape_string($l_reqmethod) . "', '" .
// mysql_escape_string($l_httphost) . "', '" .
// mysql_escape_string($l_requri) . "', '" .
// mysql_escape_string($l_phpself) . "', '" .
// mysql_escape_string($l_protocol) . "', '" .
// mysql_escape_string($l_qstring) . "', '" .
// mysql_escape_string($l_remport) . "', '" .
// mysql_escape_string($l_referer) . "', '" .
// mysql_escape_string($l_uagent) . "')";
// mysql_query($queery, $link);
// $nrows = mysql_affected_rows();
// if ($nrows != "0")
// {
// $lid = mysql_insert_id();
// if ($l_origid == 0)
// {
// $l_origid = $lid;
// }
// }
// ************************************************
// check for cookies
// ************************************************
// setcookie("atlasmedical_id", $l_origid, time() + 15552000);
// ************************************************
// allowable characters in form fields
// ************************************************
$allowed = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,.-' ";
$zallowed = "0123456789- ";
$pallowed = "0123456789.-+() ";
// ************************************************
// constants
// ************************************************
$frmdir = "/var/www/phpcode/forms/"; // form directory
$ck = "CHECKED"; // used for checkboxes/radio buttons
// ************************************************
// arrays
// ************************************************
$methods = array ("email", "phone", "mail");
$states = array ("ALAlabama", "AKAlaska", "AZArizona", "ARArkansas", "CACalifornia", "COColorado",
"CTConnecticut", "DCDC Washington", "DEDelaware", "FLFlorida", "GAGeorgia",
"HIHawaii", "IDIdaho", "ILIllinois", "INIndiana", "IAIowa", "KSKansas", "KYKentucky",
"LALouisiana", "MEMaine", "MDMaryland", "MAMassachusetts", "MIMichigan", "MNMinnesota",
"MSMississippi", "MOMissouri", "MTMontana", "NENebraska", "NVNevada", "NHNew Hampshire",
"NJNew Jersey", "NMNew Mexico", "NYNew York", "NCNorth Carolina", "NDNorth Dakota",
"OHOhio", "OKOklahoma", "OROregon", "PAPennsylvania", "RIRhode Island", "SCSouth Carolina",
"SDSouth Dakota", "TNTennessee", "TXTexas", "UTUtah", "VTVermont", "VAVirginia", "WAWashington",
"WVWest Virginia", "WIWisconsin", "WYWyoming");
// ************************************************
// functions
// ************************************************
function is_email_valid($email)
{
if(eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$", $email))
return TRUE;
else
return FALSE;
}
function is_phone_valid($ph)
{
$ph = ereg_replace("[^[:digit:]]", "", $ph);
if ($ph[0] == "1")
{
$ph = substr($ph, 1);
}
if (strlen($ph) == 10)
{
return ("(" . substr($ph, 0, 3) . ") " . substr($ph, 3, 3) . "-" . substr($ph, 6));
}
else
return FALSE;
}
// ************************************************
// process forms
// ************************************************
$rtn = stripslashes($_POST['rtn']);
if ($rtn != "")
{
if ((substr($rtn,0,7) == "request") || ($rtn == "test"))
{
include ($frmdir . $rtn . ".frm");
}
}
?>
Atlas Medical Press Release
> News
& Events Index
• 2003 Press
Release
Atlas Medical Announces "Total Outreach Management"
ARLINGTON, VA – Atlas Medical announces"Total Outreach Management" at Lab Institute 2003, sponsored by Washington G-2 Reports on October 10, 2003.
Robert Atlas describes "Total Outreach Management" is the strategic next step in Lab Computing. "Total Outreach Management" is not a product but an integrated architecture and vision for all of Atlas's current and future product development assuring high levels of product and data interoperability with current and future systems to facillitate business agility. From government reporting to customer and patient services Total Outreach Management enhances your current technology environment and strategy with additional functionality and proven business best practices. Ultimately, Total Outreach Management is about improving your bottom line: reduced transactional cost, improved accuracy, and higher customer/patient satisfaction.
>View "Total Outreach Management" Products