function uploadify()
{
$file = $this->input->post('filearray');
$data['json'] = json_decode($file);
print_r($data);
$name = $this->$json->{'file_name'};
$ isim echo;
$this->files->add($name);
$this->load->view('uploadify',$data);
}
Array ( [json] => stdClass Object ( [file_name] => footer-icpn246.jpg [real_name] => footer-icpn2.jpg [file_ext] => .jpg [file_size] => 1.75 [file_path] => /home/codeig/public_html/files/footer-icpn246.jpg [file_temp] => /home/codeig/tmp/php8gFyPG ) )
Yukarıda print_r ($ veri) den çıkışı;
Nasıl o zaman bu dizi off tuşunun kapalı dosya adını çekin istiyorsunuz?? Ben denedim.
$name = $this->$json->{'file_name'};
$name = $this->json->[file_name];
ve daha birçok kombinasyon herhangi bir yardım lütfen.
$ isim echo;