Category:

Upload 2 Separate Images In Codeigniter With Resizing

<form action=”CONTROLLER PATH” enctype=”multipart/form-data”> <input type=”file” name=”file1″/> <input type=”file” name=”file2″/> <input type=”submit” name=”Upload”/> </form> <?php #################################### $this->load->library(‘image_lib’); $config1 = array( ‘upload_path’ => “./uploads/path1”, ‘allowed_types’ => “gif|jpg|png|jpeg”, ‘overwrite’ => TRUE, ‘max_size’ Continue Reading

Posted On :