It's using the path for unix to save the sessions, and it looks like you're
on windows.  Look for the path directive in the php.ini file and change it
so only the windows path to the sessions save directory is there.

-----------------------------------------------------------------
Jonathan Rosenberg
Be fierce, be fabulous, change the world!



----- Original Message -----
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Monday, January 10, 2000 2:45 PM
Subject: [PHP] Sessions


> Hello does anyone know why I get this error when I use this code?  I
copied
> straight from the PHP.net manual:
>
> ---------------------
> CODE
> ---------------------
> <?php
> session_register ("count");
> $count++;
> ?>
>
> Hello visitor, you have seen this page <?php echo $count; ?> times.<p>
>
> <php?
> # the <?=SID?> is necessary to preserve the session id
> # in the case that the user has disabled cookies
> ?>
>
>
>
> ---------------------
> ERROR
> ---------------------
>
> Warning: open(/tmp\sess_13514d1d70d505416a47639bc7312c58, O_RDWR) failed:
m
> (2) in C:\Apache\htdocs\br\test.php on line 2
> Hello visitor, you have seen this page 1 times.
>
>
> Warning: open(/tmp\sess_13514d1d70d505416a47639bc7312c58, O_RDWR) failed:
m
> (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
>
> Thank you,
>
> --------------------------------------------
> Brandon Orther
> WebIntellects Design/Development Manager
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to