Codeigniter has a number of libraries and helpers which you can use for making your code reliable and bugs free. CI provides an extensive library of common usage classes. Upload class in Codeigniter provides us a simple and easy way for uploading files on server.
Similar Posts
50 CSS techniques and Tips which you always need.
A web page is combination of HTML, Javascript and any scripting language which makes it working. CSS is most important to stylized and make web pages interactive and attractive….
AJAX | JQuery | Miscellaneous | PHP Tutorials | Tutorials | Web Design
Ajax Shopping Cart: Create a Stylish Shopping Cart Using JQuery and PHP
You have seen many Ajax and JQuery-based shopping cart examples over the internet. I have created here a JQuery-based shopping cart that doesn’t call any Ajax request but saves…

Ajax Voting System: Create Ajax Rating/Voting system in Dzone and Digg Style. Part 2
In my previous tutorial i explain how to create simple ajax rating using Ajax, PHP and CSS3. In this part i am going to create Digg.com and Dzone.com voting…
How To: Use Re-Captcha in Codeigniter based website?
Re-captcha is a free web service to add a secured captcha on your website to avoid spams. Spams filled up your inboxes with unnecessary emails or messages which you…
AJAX | JQuery | Miscellaneous | PHP Tutorials | Tutorials
N-Level of Dynamic Loading of DropDowns using Ajax and PHP. Part 2
This is version 2 of my previous tutorial which was dynamic loading of combos with Ajax. But its much more than that. Its now for n-level dropdowns, I mean…
2 Comments
Comments are closed.
Thank you for your post i want to know how to insert a image name
/*— Controller —*/
$data = array(‘upload_data’ => $this->upload->data());
$this->load->view(‘your-upload-page’, $data);
/*— View –*/
echo $upload_data[‘file_name’]; //this will output the image name
echo $upload_data[‘image_size_str’]; //this will output the width and the height of the image
<img src="” />