Re: QuickForm and File Upload Problems
| From: | Bertrand Mansion | Date: | Thu, 06 Mar 2003 09:01:01 +0000 |
| Subject: | Re: QuickForm and File Upload Problems | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4052@lists.php.net to get a copy of this message | ||
<ckline@rightcode.net> wrote :
> Hi all,
>
> I am using html_quickform to process some data and upload a file. The
> file upload goes fine and the insert also works. But, the file that
> gets uploaded will no longer open and is about 300 bytes smaller then
> the original.
>
> What might be happening here? Any ideas?
If you use a mac, it might be because the file contains a resource block
where it is specified which icon to use, which creator and which filetype....
And because when uploaded the file loose this, it doesn't know anymore how
to open it. What type of file do you use ?
Eventually, click on the file and use 'get information' (command+I) then
specify which application is used to open this type of file. Choose 'always
use this application'. Then, file extension and application will be mapped
and the icon will show correctly.
If that's not the solution, it's not a QuickForm related problem but rather
an upload problem.
Bertrand Mansion
Mamasam