Re: Cannot upload JPEG only
| From: | Bob | Date: | Thu, 04 Apr 2002 03:22:13 +0000 |
| Subject: | Re: Cannot upload JPEG only | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91466@lists.php.net to get a copy of this message | ||
Would it help to have the <form> tag look like this:
<form method=post action=\"$PHP_SELF?command=writeProduct\"
enctype=\"multipart/form-data\">
The enctype is the part I'm wondering about.. The action and method would be
your own or course..
Later,
Bob
----- Original Message -----
From: "Carl Schmidt" <cschmi4@gl.umbc.edu>
To: "Bob" <phplist@woodenpickle.com>
Cc: <php-general@lists.php.net>
Sent: Wednesday, April 03, 2002 8:12 PM
Subject: Re: [PHP] Cannot upload JPEG only
> No I haven't. Right now, it's uploading via a simple form POST. I can
> initiate the upload , but when I have the php process the file, it fails
> on the first test for is_uploaded_file, and tmp_name is none. The thing
> is though, Iam only unable to upload gifs and jpegs, but yet i can upload
> other things like mp3s and text files and such.
>
> Carl
>
> On Wed, 3 Apr 2002, Bob wrote:
>
> > Did you try passive mode FTP?
> >
> > Later,
> > Bob
> >
> > ----- Original Message -----
> > From: "Carl" <cschmi4@gl.umbc.edu>
> > To: <php-general@lists.php.net>
> > Sent: Wednesday, April 03, 2002 7:54 PM
> > Subject: [PHP] Cannot upload JPEG only
> >
> >
> > > I'm able to successfully upload mp3s and text files to the server, but
> > > for some reason it won't let me upload jpegs or gifs? Is that a
server
> > > configuration thing?
> > >
> > > Carl
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>