Uploading an file overwrites the name-field

2009-04-25 Thread Aurelius

Hi!

I've a form with data[Blog][name] and data[Blog][pdf]
But when uploading the pdf, the $this-data[Blog][name] is now an
array with $this-data[Blog][name][pdf] = blog.pdf
Any Ideas?

How can I solve that?

thx
Aurelius
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Uploading an file overwrites the name-field

2009-04-25 Thread Miles J

Can we see your action/model code for it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Uploading an file overwrites the name-field

2009-04-25 Thread Aurelius

I already did a workaround, not really clean, but it works and I'm a
bit in a hurry
thx!


On 26 Apr., 03:17, Miles J mileswjohn...@gmail.com wrote:
 Can we see your action/model code for it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Uploading an file overwrites the name-field

2009-04-25 Thread thatsgreat2345

No need for a workaround, just show us your form as I assume it is
incorrect.

On Apr 25, 6:35 pm, Aurelius aurel...@temporaryinbox.com wrote:
 I already did a workaround, not really clean, but it works and I'm a
 bit in a hurry
 thx!

 On 26 Apr., 03:17, Miles J mileswjohn...@gmail.com wrote:

  Can we see your action/model code for it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---