Re: Re Indexing of Array

From: Date: Wed, 15 Nov 2000 18:23:45 +0000
Subject: Re: Re Indexing of Array
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3870@lists.php.net to get a copy of this message
Mitesh Patel wrote: > how to solve the below warning ??? > > session_register("mycart"); > $mycart[$itemno] = 5; > > 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 Mitesh, This is most likely due to 2 issues... first, you need to set the "session.save_path" in php.ini to an EXISTING directory (note, the dir "/tmp" does not exist by default on a Win9x/NT/2K machine). Try setting "session.save_path" to "/temp" or "c:\temp". Second, check to see that your IIS_USR (whatever you've named it) has read/write permissions on this directory. -- Andy Hoffman Web Developer Bristol-Myers Squibb email: andy.hoffman@bms.com

« previous php.windows (#3870) next »