RE: [PHP] multipart/form-data and Array POST

From: Date: Sat, 13 Mar 2004 16:09:11 +0000
Subject: RE: [PHP] multipart/form-data and Array POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-180338@lists.php.net to get a copy of this message
I'm trying to pass an array of values. Then retrieve it on the next page. -----Original Message----- From: Brian V Bonini [mailto:b-bonini@cox.net] Sent: Saturday, March 13, 2004 9:58 AM To: Andy Lewis Cc: PHP Lists Subject: Re: [PHP] multipart/form-data and Array POST On Sat, 2004-03-13 at 10:40, Andy Lewis wrote: > > <form action="<?=$PHP_SELF?>" method="POST" > name="sendit" > enctype="multipart/form-data"> <input name="<?= $upload_file_name; > ?>" > type="file" size="60"> <input type="submit" > value="Upload"> > <? > echo "<input type=\"hidden" name=\"my_array\" value=\"" . > base64_encode(serialize($my_array)) . "\">"; > ?> > </form> > What value are you trying to get from or place in "value" for the hidden field? -- Brian V Bonini <b-bonini@cox.net>

« previous php.general (#180338) next »