Re: File Upload Problem

From: Date: Thu, 07 Apr 2011 05:15:14 +0000
Subject: Re: File Upload Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-312292@lists.php.net to get a copy of this message
On 06/04/11 19:10, tedd wrote:
Hi gang: I wrote a simple script to upload image files from my desktop to a server -- the exact same code works on two servers, but fails on a third. I suspect there is something set different between the servers, but I can't find it. Oddly enough, I can upload image files directly to the database, but not to the file system. What could be wrong? What should I be looking for?
The simplest explanation is that you don't have write permissions to the location where you upload the file or to the temp directory. If you really want to get help, publish your code.

« previous php.general (#312292) next »