- Diverse RegisterGlobals Fixes

- Incomming/Outgoing Modul Erstversion
This commit is contained in:
Andreas Österreicher
2007-06-04 15:57:45 +00:00
parent 1e7ea2b4f0
commit 31dff2c18a
14 changed files with 594 additions and 61 deletions
+3 -5
View File
@@ -26,19 +26,17 @@ include('../include/functions.inc.php');
include('../include/fas/benutzer.class.php');
// Testumgebung
if (!isset($REMOTE_USER))
$REMOTE_USER='pam';
$user=get_uid();
$uid=$REMOTE_USER;
$error_msg='';
//Variablen laden
if (!$conn = @pg_pconnect(CONN_STRING))
$error_msg='Es konnte keine Verbindung zum Server aufgebaut werden!';
$error_msg.=loadVariables($conn,$REMOTE_USER);
$error_msg.=loadVariables($conn,$user);
$benutzer = new benutzer($conn);
if(!$benutzer->loadVariables($uid))
if(!$benutzer->loadVariables($user))
$error_msg = $benutzer->errormsg;
/*echo '<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>';*/
echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';