Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively.
kann mir irgendwer sagen was diese Meldung heißt??
im folgendem Code wird Sie geworfen
kann mir irgendwer sagen was diese Meldung heißt??
im folgendem Code wird Sie geworfen
PHP:
<?php
session_start();
include("mysql.php");
$username = $_POST['user'];
$pw = $_POST['pass'];
$ergebnis = mysql_query("SELECT * FROM user WHERE username='".$username."'", $dbh);
$row = mysql_fetch_array($ergebnis);
if($row['id'] == "")
{
//echo "<meta http-equiv=\"refresh\" content=\"0; URL=./loginform2.php?warning=1\">";
}
$pw = md5($pw);
if($row['pw'] != $pw)
{
//echo "<meta http-equiv=\"refresh\" content=\"0; URL=./loginform2.php?warning=2\">";
}
$_SESSION['uid'] = $row['id'];
$_SESSION['username'] = $row['username'];
//echo "<meta http-equiv=\"refresh\" content=\"0; URL=./u/index.php?uid=".$_SESSION['uid']."\">";
?>