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
Fancy Drop Down Menus Using CSS and JQuery.
Hi dear readers, I created fancy drop-down menus with CSS and JQuery. I have another tutorial on 99Points in which I used some animated navigation. I used jQuery animate…
PHP Security Attacks: How to prevent these attacks in coding?
Security is major and essential part of any language . If we see PHP then we also need and keep in mind, all security tips and tricks to prevent…
AJAX Pagination using jQuery and PHP with Animation
I have created an Ajax JQuery based pagination few months before which my users liked very much and there are thousands of downloads of that tutorial. So, I…
Ajax Domain Checker Application with JQuery and PHP
My Facebook-style tutorials are very popular among you people and Almost 5000 downloads have been counted for the Facebook wall script application. Thank you to all who like and…
Learn How to Create Super CSS3 and jQuery Based Menus
In this post I will create a simple CSS3 and JQuery based menus. You can find another jQuery menu tutorial on this blog and it is next part…
CodeIgniter Tutorial: Upload and Convert video to FLV using FFmpeg.
Today, I will show, how can we upload and convert a video file to flv using FFmpeg in CodeIgniter website. FFmpeg commands runs in Linux but in Window server…
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="” />