On Wed, 27 Sep 2000, sam Liddicott wrote:

> > 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.

yes, I know that, but when I do a phpinfo() after the form, all I see is:
HTTP_POST_VARS["userfile"]            /tmp/phpqsQSFD
HTTP_POST_VARS["userfile_name"]       test.gif
HTTP_POST_VARS["userfile_size"]       199

and IIRC, when I had an earlier version of PHP, there was also:
HTTP_POST_VARS["userfile_type"]       image/gif


> Sam
-- 
Best Regards,

David Guerizec - Open Source Developer @ AurorA R&D

The Boulder Pledge : "Under no circumstances will I ever purchase anything
offered to me as the result of an unsolicited e-mail message. Nor will I
forward chain letters, petitions, mass mailings, or virus warnings to
large numbers of others. This is my contribution to the survival of the
online community."


--
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