Re: Spreadsheet_Excel_Writer problem *SOLVED*

From: Date: Fri, 07 Jan 2005 18:46:37 +0000
Subject: Re: Spreadsheet_Excel_Writer problem *SOLVED*
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16792@lists.php.net to get a copy of this message
I called setTempDir() I created a directory under the document root, and made it the temp dir. because i don't have thw right to write on the server's temp dir. things worked :) Thanks
Haven't tried it, but if you look at the suggestion by LukasL at: http://pear.php.net/bugs/bug.php?id=2623 he suggests setting $workbook->setTempDir($AbsoluteServerPathToTheTempDir); to something else than default would fix the problem. I would also guess that the directory has to be owned by the user webserver runs as, because: http://fi.php.net/manual/en/features.safe-mode.functions.php fopen() "Checks whether the directory in which you are about to operate has the same UID (owner) as the script that is being executed."


« previous php.pear.general (#16792) next »