Welcome Guest, Not a member yet? Register   Sign In
File Uploading Class
#1

[eluser]peter_k[/eluser]
Hi eveyone,

I’m new to CI so please don’t jump down my neck !

I’m working on migrating a php site to CI and all is going well - I love it.

But (there’s always a but), having followed the ‘File Uploading Class’ example from the user guide and used the code provided there, I cannot get my uploader to work. It keeps returning the error ‘You did not select a file to upload.’.

I have used $this->output->enable_profiler() in my controller and it shows no POST data.

In an effort to fix that (and on a suggestion from a different forum), I have tried setting up my form the HTML way: <form action=”/pk/upload/do_upload” method=“POST” ENCTYPE=“multipart/form-data”>. When I do that, the profiler displays ‘$_POST[‘userfile’]’ as the POST data, but the error still remains the same and nothing uploads.

I’ve Googled many many topics and can’t find anything that resolves the problem.

Help !


Messages In This Thread
File Uploading Class - by El Forum - 09-24-2014, 08:38 AM
File Uploading Class - by El Forum - 09-24-2014, 09:20 AM
File Uploading Class - by El Forum - 09-24-2014, 09:20 AM
File Uploading Class - by El Forum - 09-24-2014, 09:41 AM
File Uploading Class - by El Forum - 09-24-2014, 11:35 AM
File Uploading Class - by El Forum - 09-24-2014, 12:04 PM
File Uploading Class - by El Forum - 09-24-2014, 12:29 PM
File Uploading Class - by El Forum - 09-24-2014, 01:07 PM
File Uploading Class - by El Forum - 09-24-2014, 01:16 PM
File Uploading Class - by El Forum - 09-24-2014, 01:20 PM
File Uploading Class - by El Forum - 09-24-2014, 02:21 PM
File Uploading Class - by El Forum - 09-25-2014, 04:02 AM
File Uploading Class - by El Forum - 09-26-2014, 12:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB