php - Can't Upload File on IIS -


i on shared-hosting account godaddy it's windows server , getting error when attempting upload file:

warning: move_uploaded_file(d:\hosting\6903\html\pdfs\aldomypdfap.pdf) [function.move-uploaded-file]: failed open stream: permission denied in d:\hosting\6903\html\back.php on line 436  warning: move_uploaded_file() [function.move-uploaded-file]: unable move 'd:\temp\php\php98c.tmp' 'd:\hosting\6903\html\pdfs\aldomypdfap.pdf 

i have heard can set php.ini file change directory it's being uploaded to, work, can't access php.ini file.

i have tried create own php.ini file in root of directory, , causes sorts of problems, such not finding correct mysql configuration files, godaddy's support on remove custom php.ini file, ridiculous, know.

i have tried use ini_set this

ini_set('upload_tmp_dir', 'd:/hosting/6903/html/pdfs/'); 

but hasn't made effect. have other options here? thank you!

update: coda octal permissions read 777 of destination directory.

as far know, need give iusr_machinename account write permissions on folder trying write to, or else fail. don't know coda is, can allow set permissions specific users?


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -