# # $Log: auto_prepend_file,v $ # Revision 1.5 2001/06/11 19:29:28 cvsroot # Update # # Revision 1.4 2001/06/05 19:43:35 cvsroot # Routine update # # Revision 1.3 2001/05/13 22:41:31 cvsroot # Initial prepend file # # # If the http_host does not equal the server name, redirect to the server name. # if (!stristr($_SERVER[REQUEST_URI], 'keystone')) { ### if ($_SERVER["HTTP_HOST"] != $_SERVER["SERVER_NAME"]) { ### header("Location: http://$_SERVER[SERVER_NAME]$_SERVER[REQUEST_URI]"); ### } # # If this is CivicServer, bail out. # ### if (stristr($_SERVER["SCRIPT_FILENAME"], 'CivicServer')) { ### return; ### } # # Determin base URL for web pages. # ### if (stristr($_SERVER[SERVER_NAME], 'test')) { ### $dri_base_url = 'test.directreflections.com'; ### } elseif (stristr($_SERVER[SERVER_NAME], 'doug')) { ### $dri_base_url = 'doug.infotopia.tv'; ### } else { ### $dri_base_url = 'infotopia.tv'; ### } # # Determin the site code # ### session_register("dri_prod_site"); ### if (stristr($_SERVER[SERVER_NAME], "medicus.$dri_base_url")) { ### $dri_prod_site = 1; ### } elseif (stristr($_SERVER[SERVER_NAME], "totaltiger.$dri_base_url")) { ### $dri_prod_site = 2; ### } elseif (stristr($_SERVER[SERVER_NAME], "bbj.$dri_base_url")) { ### $dri_prod_site = 3; ### } elseif (stristr($_SERVER[SERVER_NAME], "torsotiger.$dri_base_url")) { ### $dri_prod_site = 4; ### } elseif (stristr($_SERVER[SERVER_NAME], "promo.$dri_base_url")) { ### $dri_prod_site = 5; ### } else { ### $dri_prod_site = 0; ### } # # Preserve the last known non-secure.infotopia.tv URL. # ### if (!stristr($_SERVER[SERVER_NAME], 'secure')) { ### $dri_return_url = $_SERVER[SERVER_NAME]; ### session_register("dri_return_url"); ### } # # Get static session tar for URLs # $dri_static_session = session_name() . "=" . session_id(); # # Build the global variables # $dri_code_dir = str_replace('/htdocs', '/php', $_SERVER["DOCUMENT_ROOT"]); $dri_code_self = str_replace('/htdocs', '/php', $_SERVER["SCRIPT_FILENAME"]); $dri_lib_dir = str_replace('/htdocs', '/lib', $_SERVER["DOCUMENT_ROOT"]); # # Global constants # $dri_sql_server = "localhost"; $dri_sql_user = "root"; $dri_sql_pass = ""; $dri_sql_database = "Blattner"; # # Implement universal media tracking system. # if (isset($m)) { session_register("dri_msrc"); session_register("dri_m"); $dri_m = $m; $dri_msrc = "P0000M" . substr("0000$m", -4); } # # If the media code is not set, default it! # if (!isset($dri_msrc)) { $dri_msrc = "P0000M0000"; } # # Look-up the current session, if it does not exist... create it. # include("$dri_lib_dir/lib.inc"); # $sessionkey = session_id(); $res_sessions = dbQuery("SELECT * FROM sessions WHERE sessionkey=\"$sessionkey\""); if (dbNumRows($res_sessions) == 0) { $sessions[sessionkey] = $sessionkey; $sessions[msrc] = $dri_msrc; $sessions[prod_site] = $dri_prod_site; $sessions[firstts] = convertUTimetoSQLTime(time()); $sessions[ip_addr] = $_SERVER["REMOTE_ADDR"]; $sessions[referer] = $_SERVER["HTTP_REFERER"]; $ins = MakeInsertString( $sessions ); dbQuery("INSERT INTO sessions (" . $ins[fields] . ") VALUES (" . $ins[values] . ")"); # $res_sessions = dbQuery("SELECT * FROM sessions WHERE sid=LAST_INSERT_ID()"); unset($sessions); $sessions = dbResultArray($res_sessions, 0); } else { $sessions = dbResultArray($res_sessions, 0); } $dri_sid = $sessions["sid"]; # # Update the most current timestamp and page count. # $dri_ts = convertUTimetoSQLTime(time()); dbQuery("UPDATE sessions SET pages=pages+1, ts='$dri_ts' WHERE sid='$dri_sid'"); # # Update parrent (if supplied) # if (isset($p)) { $dri_parrent = icrypt($p, 'D'); dbQuery("UPDATE sessions SET parrent='$dri_parrent' WHERE sid='$dri_sid'"); } else { $dri_parrent = $sessions["parrent"]; } # # Get current member info. # if ($_COOKIE[C2BRref] != "") { $refering_member = $_COOKIE[C2BRref]; } # if ($refering_member != "") { $res = dbQuery("SELECT * FROM members WHERE username = '$refering_member'"); if (dbNumRows($res) == 0) { $res = dbQuery("SELECT * FROM members WHERE username = 'default'"); } } else { $res = dbQuery("SELECT * FROM members WHERE username = 'default'"); } # # Store the user ID. # $member = dbResultArray($res, 0); # # If accessing the members area, and NOT logged in, redirect to the login page.... # if (strpos($dri_code_self, 'members')) { if ($logged_in == '') { $redirect_uri = $_SERVER["REQUEST_URI"]; $error_message = "Please login before using the members area!!"; include(str_replace('/htdocs', '/php', $_SERVER["DOCUMENT_ROOT"]) . '/login.htm'); include($_SERVER["DOCUMENT_ROOT"] . '/login.htm'); exit; } } # # If the code file exists, include it first. # if (file_exists($dri_code_self)) { include($dri_code_self); } } ?>
Many enterprises depend on a series of incompatible software applications running on a variety of platforms to manage their business processes. This data collection and transfer is the lifeblood of any enterprise. Applications must often be made to “speak” to one another so that enterprise-critical data reaches the correct destination in the correct form. Since most enterprises often deploy unrelated applications, e.g. a point-of-sale system from one vendor, an inventory management system from another, the data cannot reach it intended destination without the integration of “middleware” that allows each application to accept, interpret, and route the data correctly. Blattner consulting routinely implements custom middleware solutions to complete efficient integration of applications on different platforms including:
At the core of any successful data initiative are sound technology strategies and to truly maximize the potential of your system, we use rigorous software development methodologies to ensure any customization is of the highest quality. We also understand that assessing needs correctly is crucial to your success and we make it our primary task to understand the specific business issues you face as well as your time lines, productivity needs, and priorities. We will conduct a thorough and systematic analysis of your needs and determine the feasibility of all viable alternative and emerging technology options in order to save you time and money, and to ultimately prepare you to increase your productivity. Once the components of your solution have been determined, we will align strategy with technology to deliver total solutions that provide a measurable return on investment.
|