Hello,

I have a small problem saving a file that I uploaded. The file is
uploaded correctly on temp directory and I want to insert it into the
DB using the save or saveField method.
I just do :

  $this->model->saveField('image', $filename);

the $file name contains the correct location of the file (actually temp
directory of Apache), the record is saved, but instead of the blob i
get only 25 bytes into the blob field and they actually are the ""name"
of the files, but the content of it..

I am sure I do something stupid but can't find the error, so if someone
just recognize a blob-beginner error, tell me..

Thanks
Franck


--~--~---------~--~----~------------~-------~--~----~
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