Welcome Guest, Not a member yet? Register   Sign In
Upload files problem on windows machine
#1

[eluser]Unknown[/eluser]
Hi,

I have a standard upload images form and it is uploading to my destination folder perfectly. However, when I created another controller/view to upload images again, then the do_upload() is not uploading to the destination path but to the root folder.

$config['upload_path'] = './user/images';

but the actual uploading is done in root(/) not the above folder. USER folder is made in the root. This is happenning in second controller on windows with xampp only.

When I use the first controller/view it uploads perfectly to the destination but alas in second controller/view it is not.

Has anybody faced this situation?




Theme © iAndrew 2016 - Forum software by © MyBB