Re: Spreadsheet_Excel_Writer problem

From: Date: Fri, 07 Jan 2005 09:19:53 +0000
Subject: Re: Spreadsheet_Excel_Writer problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16776@lists.php.net to get a copy of this message
On Fri, 7 Jan 2005, Ammar Ibrahim wrote: > > The remote has safe_mode on which prevents > > Spreadsheet_Excel_Writer to write temporary files? > > > > > > > Oh boy, that is true. Is there anywork around for this? 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." -- Mika Tuupola http://www.appelsiini.net/~tuupola/

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