Re: Files types
- From: "Janwillem Borleffs" <jw@xxxxxxxxxxxxx>
- Date: Wed, 19 Sep 2007 22:48:10 +0200
Bill wrote:
i tried
$newname = $_FILES['imagefile']['type'];
echo $newname;
and got nothing.
Is there something I have to do to make this work
Make sure the form has the correct method/enctype defined:
<form method="post" action="..." enctype="multipart/form-data">
<input type="file" name="imagefile" />
</form>
JW
.
- References:
- Files types
- From: Bill
- Re: Files types
- From: Janwillem Borleffs
- Re: Files types
- From: Bill
- Files types
- Prev by Date: Re: Beeky
- Next by Date: Re: Beeky
- Previous by thread: Re: Files types
- Next by thread: Attn: Beeky
- Index(es):
Relevant Pages
|