problem with upload


first, sorry for my english (i'm french).
so this is my problem :
i would like to develop my plugin, i have created files... and install it.

i have created a form with an upload input.
my problem is the file is put in the $_POST variables with only the name.
So it's possible to have variables like in $_FILES vars (mymetype, tmp_name...)?


I don't quite understand your question.

Info about uploaded files always shows up in $_FILES, not in $_POST.

Depending on what your plugin is doing, Omeka has some classes specifically for adding Files to Items, and for mostly any purpose, the Zend Framework, which underlies Omeka, has the Zend_File_Transfer class.