|
楼主 |
发表于 2010-3-28 22:29:37
|
显示全部楼层
回复 4# visvoy
喔,我现在仿佛快要大彻大悟了……我用下面代码:
$data = $this->upload->data();
print_r($data);
输出了
Array ( [file_name] => 5221C5C770729D666C3079660B260AF06.gif [file_type] => image/gif [file_path] => D:/wamp/www/sellmall/uploads/ [full_path] => D:/wamp/www/sellmall/uploads/5221C5C770729D666C3079660B260AF06.gif [raw_name] => 5221C5C770729D666C3079660B260AF06 [orig_name] => 5221C5C770729D666C3079660B260AF0.gif [file_ext] => .gif [file_size] => 27.83 [is_image] => 1 [image_width] => 320 [image_height] => 260 [image_type] => gif [image_size_str] => width="320" height="260" )
那我应该如何只获取file_name的内容呢?
这个仿佛是PHP基础的问题…… |
|