> May be your script changes content type with header() function?
I'm not changing anything with header() function. I found, that if I comment
out the following lines in Adminsite_Master_style:
108: elseif ($midgardauth) {
109: $login = unserialize($midgardauth);
110: if (file_exists($login[1])) {
111: // check the expiry date..
112: $lasttime = filectime($login[1]);
113: if ((time() - $lasttime) > $timeout*6000) {
114: unlink($login[1]);
115: $adminhost = mgd_get_host($midgard->host);
116: $mgdroot = $adminhost->prefix;
117: ?>
118: <script language="JavaScript">
119: top.location="http://<?
120: echo $adminhost->name.$adminhost->prefix;
121: ?>";
122: </script>
123: <[login]>
124: <?
125: exit;
126: } else {
127: touch($login[1]);
128: $passwordar = file($login[1]);
129: $password = fa_hashdecode($passwordar[0], $login[3]);
130: if (mgd_auth_midgard($login[0], $password,0)) {
131: $mgd_login[username] = $login[0];
132: $mgd_login[uid] = $login[2];
133: $mgd_login[password] = $password;
134: $loggedin = "YES";
135: }
136: }
137: }
138:
the page doesn't make segfault, but there is no authorization instead :)))
so it is still unusable.
regards
Krzysztof Janiszewski
IT Partner
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]