I mean i using cakephp 2.2.3, my bad. But my problem is that i can't access 
the information coming from the file field call "Imagen", i tried to used 
"$this->request->data" or $this->params(), but still can't access the 
information. Any suggestions?

On Wednesday, October 10, 2012 1:23:46 AM UTC-5, euromark wrote:
>
> cakephp3? seriously? ;) nobody is using this - since it is not even in any 
> usable stage at all.
> the problem is: a beginner is not able to tell the difference between a 
> real bug and user error. therefore it it not a good idea to start off with 
> this version.
>
> use cake 2.2 or 2.3 (if you must use the cutting edge stuff)
>
> also note, that uploading files is not just saving them, you need to 
> process the uploaded data (which will then come as an array instead of 
> string).
>
>
> Am Mittwoch, 10. Oktober 2012 06:29:23 UTC+2 schrieb Angelo Ortiz:
>>
>> Hi everyone;
>>
>> I am trying to add new information from my view and send it back to my 
>> controller, but the new fields are not added to the $data array, here is my 
>> code;
>>
>> On my controller
>>
>> $this->request->data = $this->VirtuemartProduct->read();
>>
>> on my view
>>
>> i tried to add new information echo $this->Form->input('Imagen', 
>> array('type'=>'file')); but when i upload the file, i am not being able to 
>> see the this new field.
>>
>> It is important to say that the "imagen" field is not on model and not on 
>> database, i just want to add this field so i can upload the file into a 
>> directory.
>>
>> Any suggestion on what may be happing?, by the way i am using cakephp 3. 
>> Thank you
>>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to