PDA

View Full Version : [PHP] Store file names for further copy.



tua1
17 Mar 2010, 11:31 AM
First Hello to Everyone, and sorry for my English.

I try use search but found nothing useful, or maybe did it wrong way...

I am creating a simple file browser, that has similar behavior to windows explorer (ctrl+c etc), and I wonder why should I store file names witch I want to copy to other directory.


DB
Serialize
Session


What will be the best? or maybe there is an other option?

And another thing: is this worth business to create an object (eg. FileMessenger that stores
the current path and file names plus implement Iterator on it?) for sending it from controller to model? Is this good way?

Could anybody give me advice?