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

2004-03-13 Thread Raditha Dissanayake
My Code: echo " base64_encode(serialize($my_array)) . "\">"; ?> The code does not compile. Thank you for the 7 different copies of your messages which i recieved. You had missed the last part of my reply to your original post. -- Raditha Dissanayake. -

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

2004-03-13 Thread Andy Lewis
register_globals = On -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 10:18 AM To: Andy Lewis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] multipart/form-data and Array POST Andy Lewis wrote: >Hello All, > >I'm ha

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

2004-03-13 Thread Andy Lewis
I am running: $my_array = unserialize(base64_decode($my_array)); on the array once it's POSTed. -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 10:18 AM To: Andy Lewis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] multipart/form

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

2004-03-13 Thread Andy Lewis
I'm trying to pass an array of values. Then retrieve it on the next page. -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED] 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

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

2004-03-13 Thread Raditha Dissanayake
Andy Lewis wrote: Hello All, I'm having a problem including an array in a hidden field for file upload. My first question is, can this be done? Can I actually include an array in a hidden field on a POSTed PHP upload field? can be done If so do I have to encode the array. I use array's on my

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

2004-03-13 Thread Brian V Bonini
On Sat, 2004-03-13 at 10:40, Andy Lewis wrote: > > enctype="multipart/form-data"> > > > echo " base64_encode(serialize($my_array)) . "\">"; > ?> > > What value are you trying to get from or place in "value" for the hidden field? -- Brian V Bonini <[EMAIL PROTECTED]> -- PHP General Mai

[PHP] Re: PHP multipart form data

2002-08-08 Thread Lars Olsson
Mike Dunlop wrote: > hello, > > i have php 4.2.2 compiled with --enable-ftp running (as a module in > apache under red-hat 6.2) and I can not get file uploads through a web > page to work!?!? > > The form variable $userfile (which is the file input name) is returning > false; > > Any ideas h

RE: [PHP] multipart/form-data

2002-05-07 Thread Michael Ransburg
not being allowed. I'll try to change this. thanks mike > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 12:19 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] multipart/form-data > > > On Tuesday 07 May 200

Re: [PHP] multipart/form-data

2002-05-07 Thread Jason Wong
On Tuesday 07 May 2002 18:12, Michael Ransburg wrote: > Hi! > > It looks like that: > Looks OK. > I tried shifting around the enctype, but it did not help. The > http_post_vars is always empty. Only if I remove it, everything works. > There seem to be many guys having the same problem, I did se

RE: [PHP] multipart/form-data

2002-05-07 Thread Michael Ransburg
: http://groups.google.com/groups?hl=en&threadm=B8B6599D.A88%25mnc%40stoic.net thanks mike > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 12:04 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] multipart/form-data > > &g

Re: [PHP] multipart/form-data

2002-05-07 Thread Jason Wong
On Tuesday 07 May 2002 18:01, Michael Ransburg wrote: > Hi! > > Everytime I add enctype="multipart/form-data" to my tag the > $HTTP_POST_VARS is empty. If I remove it, everything works. I need the > multipart/form-data because I'm doing a file upload as part of my form. What does your form tag l