Hi all,
Im quite rusty with this sessions stuff (just came from vacations) and
have this strange problem with a session Im trying to build. Along with
that, Im making my first lines of code with a new portable computer and
maybe PHP or Apache is not well configured
any ideas? The code goes as
follows and the result page is below that:
0)
{
$row = mysql_fetch_array($result);
$valid_admin = $row['adminid'];
session_register("valid_admin");
header("Location: admin.php");
exit;
}
else
{
header("Location: ../index.html");
exit;
}
}
else
{
header("Location: ../index.html");
exit;
}
?>
Resulta at IE:
Warning: open(/tmp\sess_d25ead36103aaf410d8ad254d206ada3, O_RDWR)
failed: No such file or directory (2) in
C:\apache\htdocs\joyeriamara\admin\login.php on line 3
Warning: Cannot add header information - headers already sent by (output
started at C:\apache\htdocs\joyeriamara\admin\login.php:3) in
C:\apache\htdocs\joyeriamara\admin\login.php on line 16
Warning: open(/tmp\sess_d25ead36103aaf410d8ad254d206ada3, O_RDWR)
failed: No such file or directory (2) in Unknown on line 0
Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on
line 0
Any thoughts are welcome and appreciated.
Cesar L. Aracena
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(0299) 156-356688
Neuquén (8300) Capital
Argentina
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php