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?
If so do I have to encode the array. I use array's on my site and am
aware that I have
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=\ .
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
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 at 10
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-data
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 having a problem
My Code:
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
The code does
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 how to troubleshoot this?
--
PHP
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 how to
Hello,
I have a form with a file upload field (named 'file1') and a number of
other data fields for submission.
I am attempting to use curl to take the user submitted data, add some
additional data, submit it to another location, retrieve the response
and send that response back to the user
Hi!
Everytime I add enctype=multipart/form-data to my form 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.
I'm running PHP 4.1.2.
Any ideas?
Thanks
mike
ps: Here is my core configuration:
An: [EMAIL PROTECTED]
Betreff: [PHP] multipart/form-data
Hi!
Everytime I add enctype=multipart/form-data to my form 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.
I'm running PHP 4.1.2
On Tuesday 07 May 2002 18:01, Michael Ransburg wrote:
Hi!
Everytime I add enctype=multipart/form-data to my form 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
: [PHP] multipart/form-data
On Tuesday 07 May 2002 18:01, Michael Ransburg wrote:
Hi!
Everytime I add enctype=multipart/form-data to my form 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
On Tuesday 07 May 2002 18:12, Michael Ransburg wrote:
Hi!
It looks like that:
form method=post action=submit.php enctype=multipart/form-data
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.
.
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 2002 18:12, Michael Ransburg wrote:
Hi!
It looks like
16 matches
Mail list logo