Re: $file_type empty

From: Date: Fri, 14 Sep 2001 08:27:25 +0000
Subject: Re: $file_type empty
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-67346@lists.php.net to get a copy of this message
In fact I just made a simple mistake. I had forgotten to put ENCTYPE="multipart/form-data". So there was no file, therefore no data like size, nor the type either. Thanks anyhow. RNie Richard Lynch <ceo@l-i-e.com> wrote in message news:010d01c13ce0$400206a0$6401a8c0@Lynchux100... > Try looking at <?php phpinfo();?> on your upload script. > > I'm guessing that if PHP isn't giving it to you, it's cuz your > browser/web-server ain't providing it... > > -- > WARNING richard@zend.com address is an endangered species -- Use > ceo@l-i-e.com > Wanna help me out? Like Music? Buy a CD: > http://l-i-e.com/artists.htm > Volunteer a little time: http://chatmusic.com/volunteer.htm > ----- Original Message ----- > From: Rnie <respuesta@gmx.net> > Newsgroups: php.general > To: <php-general@lists.php.net> > Sent: Thursday, September 13, 2001 2:01 PM > Subject: $file_type empty > > > > I am trying to find out the mime type of an uploaded file, but $file_type > as > > well as $HTTP_POST_FILES['file']['type'] are an empty string. What can be > > the cause of this? > > > > Could you CC the answers to my email address? Thanks for your help! > > > > RNie > > > > >

« previous php.general (#67346) next »