An error occured
SimpNews war unable to connect'. ' to the database server.
Please try again later.
'; $version ="2.12.3"; $snprogname = "SimpNews"; $snpurl = "http://www.boesch-it.de"; $copyright_note = "©2002,2003 Bösch EDV-Consulting"; $copyright_url = "$snprogname V$version"; $copyright_asc = "(c)2002,2003 by Boesch EDV-Consulting"; // Set the error reporting to a sane value: if(!$testmode) error_reporting (E_ERROR | E_WARNING | E_PARSE); if(!$db = @mysql_connect($dbhost,$dbuser,$dbpasswd)) { if($do_db_die) die($err_query); } else { if(!@mysql_select_db($dbname,$db)) { if($do_db_die) die($err_query); } else $dbinited=true; } if(!isset($cookiedomain) || !$cookiedomain) { if($new_global_handling) $myhost=$_SERVER["HTTP_HOST"]; else $myhost=$HTTP_HOST; $portpos=strpos($myhost,":"); if($portpos>0) $myhost=substr($myhost,0,$portpos); $cookiedomain = $myhost; if(strpos($cookiedomain,".")<1) $cookiedomain=""; else { $num_points=substr_count($myhost,"."); if($num_points<2) $cookiedomain=".".$myhost; } } if($new_global_handling) $act_script_url=$_SERVER["PHP_SELF"]; else $act_script_url=$PHP_SELF; while( list($var, $param) = @each($HTTP_GET_VARS) ) { if(!isset($$var)) { $$var=$HTTP_GET_VARS[$var]; } if(!get_magic_quotes_gpc()) $$var=addslashes($$var); } while( list($var, $param) = @each($HTTP_POST_VARS) ) { if(!isset($$var)) { $$var=$HTTP_POST_VARS[$var]; } if(!get_magic_quotes_gpc()) $$var=addslashes($$var); } if(!isset($REMOTE_ADDR)) { if($new_global_handling) $REMOTE_ADDR=$_SERVER["REMOTE_ADDR"]; } if(!isset($HTTP_USER_AGENT)) { if($new_global_handling) $HTTP_USER_AGENT=$_SERVER["HTTP_USER_AGENT"]; } if(!isset($REMOTE_USER)) { if($new_global_handling) @$REMOTE_USER=$_SERVER["REMOTE_USER"]; } require_once($path_simpnews.'/includes/timezones.inc'); ?>