HTML_QuickForm_file and PEAR::DB

From: Date: Fri, 03 Dec 2004 16:08:08 +0000
Subject: HTML_QuickForm_file and PEAR::DB
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16013@lists.php.net to get a copy of this message
Dear All, How to using HTML_QuickForm_file and PEAR::DB using register_globals = Off ? I try to update blob field using HTML_QuickForm_file and PEAR::DB, my source: $form->addElement('file', 'filePicture','Picture '); $fields_values['foto'] = file_get_contents($filePicture); $db->autoExecute('person', $fields_values, DB_AUTOQUERY_UPDATE, 'id ='.$_POST['ID']); but, when i turn off register_globals that field are set to null, what type variable $filePicture $_POST or $_FILE or ...... Thanks

« previous php.pear.general (#16013) next »