On 16 Jul, 12:49, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 7/16/07, ctimoteo <[EMAIL PROTECTED]> wrote:
> @ ctimoteo try $form->create('Geo_objectos', array('type' => 'file'));
> instead of the above line
Yes i know that, but i need to use "<input type="file"
name="ficheiro[]">" for the File Handler component.
"$form->create('Geo_objectos',array('enctype'=> 'multipart/form-
data')) " is only to make it work. The form only uploads files if have
'enctype'=> 'multipart/form-data'.
I tried to use "$form->create('Geo_objectos', array('type' =>
'file')); " but as Gorka writed i get only the file name, not the info
about the file, and no file upload possible.
Now is working well.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---