[eluser]Nanto Mago[/eluser]
[quote author="CroNiX" date="1348600836"]I usually use
FCPATH . 'public/image/'
assuming the "public" dir is at the same level as your index.php
It produces a full path and not a relative one.[/quote]
Hey, I know what is the problem.
This path need to add file_name.
Code:
$data['image']=$file['file_name'];
$output = "./public/image/".$data['image'],
I try like this and work.
thanks for the answer.