Witam mam problem z wstawieniem pola do upload pliku z formularza poprzez clase zebra form
http://stefangabos.ro/php-libraries/zebra-form/ - link do dokumentacji mój kod
// create a new form
$form = new Zebra_Form('my_form');
// add a file upload control to the form
// the "&" symbol is there so that $obj will be a reference to the object in PHP 4
// for PHP 5+ there is no need for it
$obj = &$form->add('file', 'my_file_upload');
// don't forget to always call this method before rendering the form
if ($form->validate()) {
// all the information about the uploaded file will be
// available in the "file_upload" property
print_r('<pre>');
print_r($form->file_upload['my_file_upload']);
}
// output the form using an automatically generated template
$form->render();
Fatal error: The control named "my_file_upload" in form "Szablony" must have the "upload" rule set in formularz.php on line 169
Ma ktoś jakiś pomysl jak to rozwiązać