Re: Images being uploaded in ASCII format
| From: | Tom Rogers | Date: | Thu, 23 Oct 2003 02:22:26 +0000 |
| Subject: | Re: Images being uploaded in ASCII format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167214@lists.php.net to get a copy of this message | ||
Hi,
Thursday, October 23, 2003, 4:05:13 AM, you wrote:
PG> Hi all. I'd like to take a brief sentence to introduce myself first.
PG> My name is Pablo Gosse, and I've just recently joined the php-general
PG> list. I've been using PHP since early 2000, and work as webmaster
PG> at the University of Northern British Columbia.
PG> I'm running into a problem with file uploads being handled in ascii
PG> rather than binary format.
PG> I've been writing a CMS for the past few months and the wysiwyg editor
PG> we're integrating has a very nice image manager built in
PG> (www.devedit.com). However, the uploads are being transferred in ascii
PG> format instead of binary (or auto-detect) which is mangling all the
PG> images.
PG> I've done a lot of research into this but can't seem to pin down the
PG> problem. I've looked through both my php.ini and httpd.conf and can't
PG> seem to find anything there that would remedy this problem.
PG> Does anyone have any advice as to where I should be looking to fix this
PG> problem?
PG> Thanks much in advance.
PG> Cheers,
PG> Pablo
make sure you have ENCTYPE="multipart/form-data" in the form tag
--
regards,
Tom