[PHP] Apache PHP and temporary files

2001-05-07 Thread Sarto Beaudoin

We are using apache with php on winndows 2000. When we use the dynamic image
functions, we get the following message:
imagepng: unable to open temporary file

This problem goes away if we give our users the wright to use the directory
c:\. But we would prefer not to give them access to this directory for
security reason. Anybody knows how we can tell Apache or Php to write the
temporary files to another directory.

Thanks for your help

Sarto Beaudoin


-- 
PHP General 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]




[PHP] Temporary directory for GD functions

2001-04-30 Thread Sarto Beaudoin

We use Php4 with the dynamic graphic functions (GD). Our server is Apache on
windows NT. One of the graphic function (imagePNG)creates a temporary file
in the directory c:/. We would like to know if it is possible to have this
file created in an other directory (ex : c:/temp).

Thanks for your help.

Sarto Beaudoin
Professeur
Departement d'informatique
College du Vieux-Montreal


-- 
PHP General 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]