Hi there,
I'm currently using PHP 4.2.2 and I am have encountered some problems
when trying to access $HTTP_POST_VARS. The following statements have the
following return values:
echo $HTTP_POST_VARS['userfile'];
= C:\\Documents and Settings\\Administrator\\Desktop\\IR Files\\gmp1.ir
echo
On Monday 16 December 2002 23:48, Lee P. Reilly wrote:
Hi there,
I'm currently using PHP 4.2.2 and I am have encountered some problems
when trying to access $HTTP_POST_VARS. The following statements have the
following return values:
echo $HTTP_POST_VARS['userfile'];
= C:\\Documents and
]
lreilly@lanl. cc:
gov Subject: [PHP] $HTTP_POST_VARS problem
--- Lee P. Reilly [EMAIL PROTECTED] wrote:
The following statements have the following return
values:
echo $HTTP_POST_VARS['userfile'];
= C:\\Documents and Settings\\Administrator\\Desktop\\IR
Files\\gmp1.ir
echo $userfile;
= C:\\Documents and Settings\\Administrator\\Desktop\\IR
Thanks for all the replies. However, I still have problems as the following code
produces the following output:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
echo 0: . $userfile . br;
echo 1: . $HTTP_POST_FILES['userfile']['size'] . br;
echo 2: .
Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Lee P. Reilly [EMAIL PROTECTED]; PHP [EMAIL PROTECTED]
Sent: Monday, December 16, 2002 10:04 AM
Subject: Re: [PHP] $HTTP_POST_VARS problem
--- Lee P. Reilly [EMAIL PROTECTED] wrote:
The following statements have the following return
Problem solved:
I forgot to add the enctype to the original FORM tag.
Cheers,
Lee,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To: [EMAIL PROTECTED]
Subject: Re: [PHP] HTTP_POST_VARS problem
Please ignore my question - I just figured it out. I had the
method=post
in the input type=submit tag rather than in the form tag. It
works!
However, if one has an HTML select/option menu
Hi. I'm a newbie at this and am having problems understanding how this
works.
I have a form with method=post. The server program does display
REQUEST_STRING as I expect (e.g., choice=yes but displaying
HTTP_POST_VARS[choice] is null). However, displaying
HTTP_GET_VARS[choice] does display yes.
Please ignore my question - I just figured it out. I had the method=post
in the input type=submit tag rather than in the form tag. It works!
However, if one has an HTML select/option menu scrolling list with multiple
selections, how does one get the number of values for the same name with
10 matches
Mail list logo