php - Codeigniter - move_uploaded_file permission(?) issue -


this problem asked before, did not solve case. working codeigniter.

i have simple form submits file , want move file folder on server. after submitting can print_r $_files['new-item-file'] array , everythings looks good.

but when use move_uploaded_file error:

failed open stream: http wrapper not support writeable connections

the folder want write in exists , has 777 permissions.

dies have solution this?

thanks lot!

i solved it:

move_uploaded_file not seem accept absolute paths. took out base_url(); , worked.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -