Re[2]: [PHP] Images being uploaded in ASCII format

From: Date: Thu, 23 Oct 2003 23:56:40 +0000
Subject: Re[2]: [PHP] Images being uploaded in ASCII format
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167375@lists.php.net to get a copy of this message
Hi, Friday, October 24, 2003, 2:11:43 AM, you wrote: PG> Hi Tom. >> make sure you have ENCTYPE="multipart/form-data" in the form tag PG> Thanks for the tip, but that's not the problem. My code is below, and PG> as you can see there is nothing in the code that would be causing this. PG> It has to be something in the server, and while there have been a few PG> posts to these lists about this problem, never a resolution for the PG> problem. PG> Here's the code: Another thing is to try move_uploaded_file() instead of copy, if your server is on windows copy maybe doing strange things as copy needs /b to indicate binary, just a guess. -- regards, Tom

« previous php.general (#167375) next »