Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Upload extends CI_Controller {
- function __construct()
- {
- parent::__construct();
- }
- function index()
- {
- $this->load->view('upload_form_v');
- }
- function lista_enviados() {
- //Decode JSON returned by /js/uploadify/upload.php
- $file = $this->input->post('filearray');
- $data['json'] = json_decode($file);
- $this->load->view('lista_enviados_v',$data);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment