you will need to say what drive the temp folder is on so c:\temp\ in the php.ini
> -----Original Message----- > From: Martin Towell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 17 December 2002 4:11 PM > To: 'Elaine Kwek'; PHP > Subject: RE: [PHP] Plz help to solve my problem. > > > From this error > > 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 > > It looks like you'll have to change php.ini to have > session.save_path point > to a valid path. Maybe \temp\ ? > > HTH > Martin > > -----Original Message----- > From: Elaine Kwek [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 17, 2002 4:08 PM > To: PHP > Subject: [PHP] Plz help to solve my problem. > > > I am now trying to use php session control in my web application. i try to > copy a coding an test it...but it come out error. i not sure how to solve > it. Plz help me...I using Apache server. > > the code sample is like this: > > <? > > session_start(); > session_register("sess_var"); > > $sess_var = "Hello world!"; > > echo "The content of \$sess_var is $sess_var<br>"; > > ?> > > > And this is the result of the page: > > Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR) > failed: No > such file or directory (2) in c:\Program Files\Apache > Group\Apache\htdocs\Office_Management_System\tmp\page1.php on line 3 > > The content of $sess_var is Hello world! > > Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, 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 > > > thanx to whom reply to me... > > Elaine Kwek > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php