Veuillez contacter le webmaster SVP
"; else { $totmsg = totfile($File); $fd = fopen("$File.csv","r"); $found=0; while(($i<=$totmsg) || ($found != 1)) { $data = fgetcsv($fd, 10000, ","); if (stripcslashes($data[0]) == $username) $found=1 } $user["username"] = stripcslashes($data[0]); $user["userpass"] = $data[1]; $user["droits"] = $data[2]; $user["usertheme"] = $data[3]; } fclose($fd); } if ($found == 1) return $user; else return -1; } ?>