|
Posted by petersprc on 04/19/07 13:46
Hi,
Do you have any luck with this:
if (!move_uploaded_file($_FILES['myFile']['tmp_name'], '/my/new/dir'))
{
trigger_error('Upload failed.', E_USER_ERROR);
}
The temporary dir can be changed with the upload_tmp_dir setting in
php.ini or in httpd.conf.
On Apr 19, 9:26 am, Kesavan <k7.in...@gmail.com> wrote:
> On uploading file.., the file moves into the temp dir "C:\Windows
> \Temp" which is not accessible in the server.
> Is there any way to store the uploaded files in a new directory and
> then move it to desired directory?
>
> Kesavan M
> m.kesa...@hotmail.com
> INDIA
Navigation:
[Reply to this message]
|