views:

62

answers:

1

Hi,

I'm not finding a way to understand and fix this and I've done a lot.

I've got a script, wish is a simple form, that sends a file trough POST. The second file, process the info.

By default, I give to the user a few fields, one of them being a input field of type "file" and there's also, a few "hidden" one's, that gives me values to work with on POST.

I found that, when adding a new input of type "file", the $_POST returns array 0, even $_FILES returns nothing. I have no idea how to fix this, and it works just fine when keeping the default input box of type "file".

This is the form http://pastie.org/872488

This only happens when:

Exists!

var_dump( $_POST ), or $_FILES,

print_r(), etc

Returns nothing. I've tryed to create a array on the input of type "files", like img_p_child[], but nothing.

How to solve this ?

Thanks for taking your time!

A: 

I forgot to mention that, I tryed right now sending a image file in this second input field and works, but not with .FLV file. So I suspect there's a maximum permission, that I need to change on php.ini, if this is the case, I'm sorry! :X

Jahmaica
Yes, it seems like :X I'm so sorry
Jahmaica