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 <[EMAIL PROTECTED]> wrote in message
010d01c13ce0$400206a0$6401a8c0@Lynchux100">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 [EMAIL PROTECTED] address is an endangered species -- Use
> [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>
> Newsgroups: php.general
> To: <[EMAIL PROTECTED]>
> 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
> >
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to