I have this strange problem where i get an error if i try to upload
and swf file... pretty much all filetypes work, it is just swf that
comes back with an error 1.. even when i just print the $_FILES
variabel i get this, does anybody know what could be the problem why
the filesize stays at 0 and the error message is 1, the code is just a
normal form with input file and when i print the var in controller i
haven't done anything with it yet (so no real use to post the code i
guess).

Array
(
    [data] => Array
        (
            [name] => Array
                (
                    [Attachment] => Array
                        (
                            [file] => tdi_case.swf
                        )

                )

            [type] => Array
                (
                    [Attachment] => Array
                        (
                            [file] =>
                        )

                )

            [tmp_name] => Array
                (
                    [Attachment] => Array
                        (
                            [file] =>
                        )

                )

            [error] => Array
                (
                    [Attachment] => Array
                        (
                            [file] => 1
                        )

                )

            [size] => Array
                (
                    [Attachment] => Array
                        (
                            [file] => 0
                        )

                )

        )

)

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