You could just use the session_save_path([string path]); function in your code?
"Jtjohnston" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am running PHP in a weird configuration - :) - on a CD Rom! Therefore: > > 1) - Each time I run my CD ROM server, I need my setup executable to > reconfigure a copy of php.ini and copy it to the windows directory and > reconfigure. > > [Session] > session.save_path= E:\CD\PHP\sessiondata ; argument passed > to save_handler > > My questions are: > > 1) How can I configure an *.ini file with ease using PHP? > 2) Specifically, how can I reconfiigure "session.save_path" to the PHP > variable $temp > > E:\CD\PHP\sessiondata needs to be read and write, which is not possible > on a CD Rom. > > An email post & reply would be most helpful. > > John > -- PHP Windows 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]