I thought this little tutorial was nice.
It creates a function in the app controller so you can reuse the
upload wherever you'd like.

http://www.jamesfairhurst.co.uk/posts/view/uploading_files_and_images_with_cakephp

On Nov 12, 4:46 am, grigri <[EMAIL PROTECTED]> wrote:
> > or Transfer Behavior which I'm 
> > maintaining:http://github.com/davidpersson/media/tree/master/models/behaviors/tra...
>
> Whoa. That looks truly awesome - it's like that swiss army knife with
> 500 tools on it. Is there a tutorial on usage? The number of options
> is a bit overwhelming when you're not familiar with the code.
> (Although I'm going to try and figure it out)
>
> On Nov 12, 10:07 am, David Persson <[EMAIL PROTECTED]> wrote:
>
> > You might also want to try Upload Behavior by 
> > AD7six:http://trac.assembla.com/mi/browser/branches/base/models/behaviors/up...
>
> > or Transfer Behavior which I'm 
> > maintaining:http://github.com/davidpersson/media/tree/master/models/behaviors/tra...
>
> > or this Component which I recently 
> > discovered:http://github.com/marciotrindade/cake_upload/tree/master
>
> > On 12 Nov., 02:11, Drew Pearson <[EMAIL PROTECTED]> wrote:
>
> > > Thanks for the advice @validkeys and @Marcelo Andrade. I read through  
> > > Chris's file handler and it looks pretty easy.
> > > One thing though. He has a new snipit that extends the model that  
> > > seems to be exactly what I need.
>
> > >http://cakeforge.org/snippet/detail.php?type=snippet&id=52
>
> > > I'm not sure where to put this file though. Its not a regular model  
> > > because the class is extending "Model" not "AppModel." It doesn't look  
> > > like a  behavior either.
>
> > > can anyone help me out?
>
> > > On Nov 11, 2008, at 9:17 AM, validkeys wrote:
>
> > > > check out the FileHandler component by Chris Patridge
>
> > > >http://cake-php.blogspot.com/2006/09/easy-way-to-upload-files-up-to-y...
>
> > > > On Nov 10, 9:07 pm, farfignugin <[EMAIL PROTECTED]> wrote:
> > > >> Just started with cakephp (1.2) and I can't seem to find a simple  
> > > >> walk
> > > >> through on how to upload a file and save the url to a table field in
> > > >> the database. Links, hints, or tips would be much appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to