Re: Cannot upload JPEG only
| From: | Carl Schmidt | Date: | Thu, 04 Apr 2002 05:22:01 +0000 |
| Subject: | Re: Cannot upload JPEG only | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91482@lists.php.net to get a copy of this message | ||
I copied index.html to index.gif, and it uploaded fine as index.gif to the
appropirate
directory.
Carl
On Wed, 3 Apr 2002, Miguel Cruz wrote:
> On Wed, 3 Apr 2002, Carl Schmidt wrote:
> > Thank you for the code snippets. Unfortunately the problem is that I
> > can'tget far enough to process the file. When the php script that
> > supposed to process the file tests with is_uploaded_file, it fails. In
> > addtion, the $HTTP_POST_FILE['userfile']['tmp_name']=none. So i
> > can't
> > process anything since, as far as php is concerned, it appears nothing is
> > uploaded.
>
> What happens if you take a file that works, and rename it so the extension
> is .GIF, and try uploading it? I mean, obviously it won't be a valid
> image, but will it transfer and show up?
>
> miguel
>