Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
aserra
Posts: 63
Registered: ‎10-07-2009
My Device: Not Specified
Accepted Solution

No file attach in input type file with enctype multidata

Hi all,

 

I'm using Widget beta2 & beta3. 

 

I build a simple local upload file with enctype multidata form.

But the input file seems that no select a file.

 

I have a input type="file":

File: [Browse...] --> then select a picture -->  File: [Browse...]

 

When the simulator and BB Browser do:

File: [Browse...]] --> then select a picture --> File: [picture.jpg]

 

If I submit the form, the result ($_FILES['file']) is empty array...

 

I don't know what it's happening. Can anybody help me?

 

 

 

 

Contributor
vanaturwms
Posts: 23
Registered: ‎04-29-2010
My Device: Storm 9500

Re: No file attach in input type file with enctype multidata

[ Edited ]

Hi aserra!

 

I have the same problem with the input file.

 

In simulator works fine but in the device not works  :smileyfrustrated:.

aserra, you have already a solution?

Thanks! 

Developer
aserra
Posts: 63
Registered: ‎10-07-2009
My Device: Not Specified

Re: No file attach in input type file with enctype multidata