I'm getting the following error in my server error log:
[Sat Mar 24 23:12:06 2007] [error] [client 127.0.0.1] PHP Notice: Undefined variable: username in C:\Server\Apache2.2\htdocs\Jumploader\uploadHandler.php on line 3
Line 3:
$_SESSION['usuario'] = $username;
I don't understand why this session is undefined. One page previous, in the same session, 'usuario' is used to:
if (file_exists("c:\\Server\\upload\\".$_SESSION['usuario'])) {
include("index.php");
} else {
mkdir ("c:\\Server\\upload\\".$_SESSION['usuario']);
include("index.php");
}
Can I not use the same session multiple times?
Thanks!
Ben