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" <[EMAIL PROTECTED]> To: "Bob" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php