Re: problem with file uploads using quickform
| From: | Charles Kline | Date: | Fri, 09 Mar 2007 02:40:01 +0000 |
| Subject: | Re: problem with file uploads using quickform | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26797@lists.php.net to get a copy of this message | ||
On Mar 8, 2007, at 6:45 AM, Alexey Borzov wrote:
Hi, Charles Kline wrote:*goes and hides* Thanks Charlesi am having a problem accessing the name of the file being uploaded. the file uploads just fine, but i can't seem to get the name to add to my sql query. Note, I have tired using print_r($values) inside the process_data function and it does not display any of the info about the file.Well, duh. That's because you tell it not to pass any info about the files:if ($form->validate()) {See the docs: http://pear.php.net/manual/en/package.html.html-quickform.html-quickform.process.php//$form->freeze(); $form->process('process_data', false); //exit;} else {