I see two possible solutions:

1. Use different models for your files.

2. Extract in a loop the data from the $this->params['form'] array and
create an array with the following structure:
[Model] => Array
                (
                    [name] =>
                    [type] =>
                    [tmp_name] =>
                    [error] =>
                    [size] =>
                )

With this array you can do the other things you do in your add()
function.


HTH

-- 
Daniel Hofstetter
http://cakebaker.wordpress.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to