Re: Difficulty with <input type='file' element
by Frank Boumphrey <bckman(at)ix.netcom.com>
|
| Date: |
Tue, 1 Jan 2002 22:42:41 -0500 |
| To: |
Hank Marquardt <hmarq(at)yerpso.net> |
| Cc: |
hwg-techniques(at)hwg.org |
| References: |
D1C4FN01 yerpso |
| |
todo: View
Thread,
Original
|
|
I edited the form. It doesn't work with "multipart/form-data" in it. I think
the problem is with the client, not the server, but I wanted to know if
others had this difficulty.
Frank
----- Original Message -----
From: "Hank Marquardt" <hmarq(at)yerpso.net>
To: "Frank Boumphrey" <bckman(at)ix.netcom.com>
Cc: <hwg-techniques(at)hwg.org>
Sent: Tuesday, January 01, 2002 10:03 PM
Subject: Re: Difficulty with <input type='file' element
> Can I infer that it does work under some case? ... or could it be
> something permssion related on the fileupload.php file? -- I can't test
> it for you as you didn't post the url.
>
> You'll also want to add the enctype param to the form definition ...
> needs to be "multipart/form-data" for php to make the correct
> assignments (unless they changed this in 4.1, I haven't looked)
>
> Hank
>
> On Tue, Jan 01, 2002 at 09:41:51PM -0500, Frank Boumphrey wrote:
> > <form method="post" action="fileupload.php">
> > <input type="file" name="userfile" />
> > <input type ="submit" />
> > </form>
> >
> > or the equivalent JavaScript submit(); function will generate an "access
> > denied" error on both ie5.5 and ie6 running on Windows Professional
2000.
> > Can anyone tell me how to get round this?
> >
> > Also can anyone tell me if this occurs with IE5+ on Windows 9* or Nn6.
Does
> > it occur on Macs etc. ?
> >
> > TIA
> >
> > Frank
>
> --
> Hank Marquardt <hank(at)yerpso.net>
> http://web.yerpso.net
> GPG Id: 2BB5E60C
> Fingerprint: D807 61BC FD18 370A AC1D 3EDF 2BF9 8A2D 2BB5 E60C
> *** Web Development: PHP, MySQL/PgSQL - Network Admin: Debian/FreeBSD
> *** PHP Instructor - Intnl. Webmasters Assn./HTML Writers Guild
> *** Beginning PHP -- Starts January 7, 2002
> *** See /services/classes
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.