Answers for "Multiple image upload with CodeIgniter"

PHP
0

none

private function upload_files($path, $title, $files)
    {
        $config = array(
            'upload_path'   => $path,
            'allowed_types' => 'jpg|gif|png',
            'overwrite'     => 1,                       
        );

        $this->load->library('upload', $config);

        $images = array();

        foreach ($files['name'] as $key => $image) {
            $_FILES['images
Posted by: Guest on January-01-1970
0

none

views
---------

<?php echo validation_errors();?>
<?php echo form_open_multipart('pages/multiple_files');?>
<p><input type="file" multiple="multiple" name="image_name
Posted by: Guest on January-01-1970

Code answers related to "Multiple image upload with CodeIgniter"

Browse Popular Code Answers by Language