NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP Form handling with mutipart/form-data

Anirudh Zala zala007 at hotmail.com
Tue Sep 3 14:08:50 EDT 2002


Hey phil

U can use that file handle same as in mulitipart for data.
But for file uploading u can also get many other file varibales..

like $file_name, $file_type, $file_size which are diff atributes of your 
file var called "$file"

And u must pass a hidden var..called <inout type=hidden name=MAX_FILE_SIZE 
value=10000000> to tell php that how much file size
u r going to upload..

Thanks

Anirudh Zala

>From: "Phil Powell" <soazine at erols.com>
>Reply-To: talk at nyphp.org
>To: NYPHP Talk <talk at nyphp.org>
>Subject: [nycphp-talk] PHP Form handling with mutipart/form-data
>Date: Tue,  3 Sep 2002 03:19:59 -0400
>Received: from mc4-f18.law16.hotmail.com ([65.54.237.153]) by 
>mc4-s18.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 3 Sep 
>2002 00:30:58 -0700
>Received: from parsec.nyphp.org ([66.250.54.138]) by 
>mc4-f18.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 3 Sep 
>2002 00:30:40 -0700
>Received: from nyphp.org (parsec.nyphp.org [66.250.54.138])by 
>parsec.nyphp.org (8.12.3/8.12.3) with ESMTP id g837JxGb011552;Tue, 3 Sep 
>2002 03:19:59 -0400 (EDT)(envelope-from listmaster at nyphp.org)
>Message-Id: <200209030719.g837JxGb011552 at parsec.nyphp.org>
>X-Paralist-Archived: 
><http://nyphp.org/list/paralist_archive.php?L_mid=1028>
>X-List-Software: Paralist 0.6
>List-ID: <nyphptalk.nyphp.org>
>List-Owner: <mailto:listmaster at nyphp.org>
>List-Archive: <http://nyphp.org/list/paralist_archive.php?L_lid=1>
>List-Subscribe: <http://nyphp.org/list/>
>List-Unsubscribe: <http://nyphp.org/list/>
>Organization: New York PHP
>X-Mailer: Paramail 0.5
>Return-Path: listmaster at nyphp.org
>X-OriginalArrivalTime: 03 Sep 2002 07:30:40.0765 (UTC) 
>FILETIME=[CE268AD0:01C2531B]
>
>I know that PHP uses $HTTP_FORM_VARS associative array variable (or $FORM
>too I think I forget), however, can PHP use these variables if the form
>submitted was of type multipart/form-data?
>
>E.g.
>
><form method=post action=blah.php enctype=multipart/form-data>
>..
><input type=file name=file>
>..
></form>
>
>How would PHP handle a form such as this, where you would be uploading
>files?
>
>Phil
>----- Original Message -----
>From: "Donald J. Organ IV" <dorgan at optonline.net>
>To: "NYPHP Talk" <talk at nyphp.org>
>Sent: Monday, September 02, 2002 10:39 PM
>Subject: [nycphp-talk] Current weeks's dates
>
>
> > Is there any way that anyone can think of to get a set of dates sun-sat
>for a given date?
> >
> >
> >
> >




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the talk mailing list