phpbar.de logo

Mailinglisten-Archive

[php] Fehlermeldung

[php] Fehlermeldung

Rosalina Gaydouk php_(at)_phpcenter.de
Wed, 5 Sep 2001 09:48:08 +0200


Hallo!
Vielen Dank für Ihre Antworten. Ich kann aber leider, das Problem immer noch
nicht lösen.

Fehlermeldung
---------------------------
Warning: Unable to resolve  IP in
/usr/local/httpd/htdocs/user_name/phpwebed/index.php on line 7

Warning: Cannot add header information - headers already sent by (output
started at /usr/local/httpd/htdocs/user_name/phpwebed/index.php:7) in
/usr/local/httpd/htdocs/user_name/phpwebed/index.php on line 8



Teil des Scripts
------------------------------------
<?include "config.inc.php";
include "$phpWebEd_language.inc.php";

if ($submit == "Login") {
if ($name == $phpWebEd_username && $pass == $phpWebEd_userpass) {
setcookie("auth",md5($name.$pass),0,"/");
error_log (date("Y-m-d H:i") . "\t$name\t" . gethostbyaddr($REMOTE_ADDR) .
"\r\n", 3, "logins.txt");
header("Location: index.php?check_cookie=1");
exit();
 }
 else $errstr = $login_fail_str;
}

if ($check_cookie == 1) {
 if ($auth != "") {
  header("Location: $homepage_url");
  exit();
 }
 else $errstr = $cookie_warn_str;
}
?>

Ich wäre euch für jede Hilfe dankbar.
Liebe Grüße
Rosalina Gaydouk


_________________________________________________________
Do You Yahoo!?
Get your free _(at)_yahoo.com address at http://mail.yahoo.com



php::bar PHP Wiki   -   Listenarchive