Re: File Upload on Win2K
| From: | Bryant Brabson | Date: | Fri, 02 Nov 2001 15:31:41 +0000 |
| Subject: | Re: File Upload on Win2K | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10183@lists.php.net to get a copy of this message | ||
What does your error log say? And what are the permissions on the relevant directories? From
personal experience I can say that checking these 2 things you can quickly resolve the problem.
>Message-ID: <3BE1A1A7.C9D3283C@jwebmedia.com>
>Date: Thu, 01 Nov 2001 13:25:27 -0600
>From: Joseph Koenig <joe@jwebmedia.com>
>Reply-To: joe@jwebmedia.com
>MIME-Version: 1.0
>To: php-windows@lists.php.net
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Subject: Re: [PHP-WIN] File Upload on Win2K
>
>I've been working on this all day and still am no further than I was
>this morning. I'm pulling my hair out. In php.ini, the upload_tmp_dir is
>set to "F:\PHP\uploadtemp", which is right where it should be. When I
>upload a file, if I echo it, I get the path to the file, however, when I
>go into the server to view the file, it's not there. It's nowhere to be
>found. Doing a search on the server won't even bring up the file. It's
>like it's going up to temp and then being removed immediately. If I try
>and move it, it just disappears, too. Is there some funky permissions
>thing or something I'm missing? Thanks (please CC me on all replies),
>
>Joe
>
> > Hi,
> >
> > I know this is a question asked all the time and but this one's got me
> > confused. I'm attempting to have a form upload an image. Simple enough.
> > The file gets moved up to the temp directory just fine. If I echo the
> > file, I get something like "F:\PHP\uploadtemp\php56.tmp", which is right
> > where it should be. Everything is fine till I try to move the uploaded
> > file.