Login Retreive lost passwordRegister
Search

Forum Index / General / Capcha & upload

[ This topic is solved ]

  fulvio 09 December 09 / 16:48  
I have a simple form with uploadField and it works fine, but when i add an captcha to it ist says the file is not valid.

Did it happen to anyone else?

  Johan Wiegel (Admin) 09 December 09 / 18:25  
Working fine in my test script.

<?php
function fh_save($data)
{
print_r$data );
}

$form = new FormHandler();
$form->uploadField('upload','upload');
$form->captchaField('code','code');
$form->onCorrect'fh_save');
$form -> submitButton();
$form -> flush(); 
?>

  fulvio 10 December 09 / 13:08  
Sorry, the secure_show.php did not have my config.php included so it did not have the same session.

Resolved

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license