clarify native excel for php safe mode

This commit is contained in:
Marc Delisle
2004-07-06 18:19:47 +00:00
parent 2e1965b5c7
commit de9e65c267
2 changed files with 12 additions and 3 deletions

View File

@@ -7,10 +7,11 @@ $Source$
2004-07-06 Marc Delisle <lem9@users.sourceforge.net> 2004-07-06 Marc Delisle <lem9@users.sourceforge.net>
* libraries/export/xls.php: enable user to specify './tmp' as the * libraries/export/xls.php: enable user to specify './tmp' as the
TempDir (use realpath() to find the complete path. Add error trap TempDir -- use realpath() to find the complete path. Add error trap
in case OLE cannot write to directory. Add setTempDir() to enable OLE in case OLE cannot write to directory. Add setTempDir() to enable OLE
write in this directory. write in this directory.
* Documentation.html: document the TempDir creation * Documentation.html: document the TempDir creation and PHP safe mode
issues with PEAR
2004-07-05 Marc Delisle <lem9@users.sourceforge.net> 2004-07-05 Marc Delisle <lem9@users.sourceforge.net>
* footer.inc.php, index.php, queryframe.php: bug 981939, database * footer.inc.php, index.php, queryframe.php: bug 981939, database

View File

@@ -3624,7 +3624,7 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
enable that? enable that?
</h4> </h4>
<p> <p>
You can either export as CSV suitable for MS Excel, what works out of the You can either export as CSV suitable for MS Excel, which works out of the
box or you can try native <b>experimental</b> MS Excel exporter. For box or you can try native <b>experimental</b> MS Excel exporter. For
enabling this you need to set $cfg['TempDir'] to place where web server enabling this you need to set $cfg['TempDir'] to place where web server
user can write (for example <tt>'./tmp'</tt>) user can write (for example <tt>'./tmp'</tt>)
@@ -3639,6 +3639,14 @@ To create a new, empty mimetype please see libraries/transformations/template_ge
(no stable version available yet) and then we tell pear we want to satisfy (no stable version available yet) and then we tell pear we want to satisfy
dependencies. dependencies.
</p> </p>
<p>
If you are running in PHP safe mode, you will have to set
in <tt>php.ini</tt> the <tt>safe_mode_include_dir</tt> to the directory
where your PEAR modules are located, for example:
</p>
<pre>
safe_mode_include_dir = /usr/local/lib/php
</pre>
<p> <p>
To create the temporary directory on a UNIX-based system, you can do: To create the temporary directory on a UNIX-based system, you can do:
</p> </p>