CodeIgniter Forums

Full Version: File Uploading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to upload file in codeigniter2.3
Read the userguide
Along with the source code installer, you will find the users manual.
Just read it.
(08-03-2015, 11:47 PM)Midhun Mohanan P Wrote: [ -> ]How to upload file in codeigniter2.3
showing errors
What is the problem in coding
You should remove '../../' in your $config['upload_path']. You need to point it relative from the main index.php, not relative to your controller file.
(08-04-2015, 01:42 AM)Diederik Wrote: [ -> ]You should remove '../../' in your $config['upload_path']. You need to point it relative from the main index.php, not relative to your controller file.

my folder structure attached on this msg.
i need to upload image in amenities folder
how to do it
(08-04-2015, 01:42 AM)Diederik Wrote: [ -> ]You should remove '../../' in your $config['upload_path']. You need to point it relative from the main index.php, not relative to your controller file.

thaks all for your support
finally i correct my mistake

thank you