Re: copy_file() files
| From: | Ajai Khattri | Date: | Wed, 03 Dec 2003 22:32:00 +0000 |
| Subject: | Re: copy_file() files | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171735@lists.php.net to get a copy of this message | ||
On Wed, Dec 03, 2003 at 11:19:46PM +0100, Bronislav Klucka wrote:
> are you working with uploaded files?? because move_uploaded _files() woks
> only with them,
I switched to this function and had the same problem.
> and what is $image variable??? is that file on disk or uploaded file?? do u
It is a variable in the form (register globals is off).
> know that they are stored i $_FILES global variable?
Yes I know - I didn't write this code and dont really want to mess with it.
However, I managed to get this working now - I realized that open_base_dir needs
to have /tmp added to the list of permissable directories. Now image uploads
appear to be working.