没有临时文件夹(无法上传文件)

I run PHP though IIS 7.5 and made the php installation from http://windows.php.net/download/ 5.3 msi installer

To date everything has run very fine,

but for some reason when i submit a file with an html form, In the php script that should save the file i get this the error 6 witch mean that there is no tmp_folder.

This is the output of print_r($_FILES);

Array
(
    [test1] => Array
    (
        [name] => Book1.csv
        [type] => 
        [tmp_name] => 
        [error] => 6
        [size] => 0
    )
)

Now when i look in php.ini

I correctly have this

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = "C:\phpDevelopment\tmpFolder"

I don't know what to do to make this to work correctly.

I Googled this problem and i can't find any thing.

Any idea some one ?

Thanks for any help I could have.

Edit --------------------------------------------

Also yes the tmp folder at is there and should have the right to be able to write in.

I setted right to everyone just to make sure i have enough right. We see here that right are set to everyone

查看全部
dongzhizhai4070
dongzhizhai4070
2014/01/22 21:14
  • iis
  • php
  • html
  • ajax
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复