2009年4月30日星期四

[fw-mvc] How to fetch the original file name from upload element (BC break?)

In the code I was doing

$originalFileName = $attachment->getFileName(null, false);

to get the name of the file uploaded, but since I use the rename
filter now I get the name after the renaming.

It used to work?!?

Regards,
Emil

--
My place to share my ideas:
http://bolddream.com (under contruction)

没有评论: