----- Original Message -----
From: "David Guerizec" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 27, 2000 5:20 PM
Subject: Re: [midgard] No mimetype with netscape upload


> On Wed, 27 Sep 2000, Emiliano wrote:
>
> > David Guerizec wrote:
> >
> > > I ran into a problem with Netscrape 4.72
(netscape-common-4.72-6.i386.rpm
> > > and netscape-communicator-4.72-6.i386.rpm) on Linux RH6.2, that
problem is
> > > that Netscape seems to not send the mime-type of a gif image from an
> > > upload form, although the file is a .gif and it sends the size and
> > > filename.
> >
> > Report it to Netscape?
>
> hehe, well in fact I wanted to know if this was a misconfiguration of NS
> or httpd, or Midgard itself.
>
> I found the real problem, it didn't come from NS but from PHP (or the
> Midgardized part of it):
>
> I tried to use $HTTP_POST_VARS["userfile_type"] but this var was not set.
> I now use $userfile_type directly and this works.
>
> I don't have enough time yet to explore further this problem to check if
> this comes from PHP or Midgard (or my own config, who knows ?).

HTTP_POST & the like only get filled in if you have PHP_TRACK_VARS enabled
in your configuration.

Sam


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to