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
ginal 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"
Thanks for all the replies. However, I still have problems as the following code
produces the following output:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
echo "0: " . $userfile . "";
echo "1: " . $HTTP_POST_FILES['userfile']['size'] . "";
echo "2: " . $HTTP_POST_FILES['userfil
--- "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\\Desk
To: PHP <[EMAIL PROTECTED]>
Subject: [PHP] $HTTP_POST_VARS problem
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
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 $userf
Make the name of the select an array
e.g. http://www.chessish.com>
--
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: 08 February 2002 02:47
To: [EMAIL PROTECTED]
Subject: Re: [PHP] HTTP_POST_VARS problem
Please ignore
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
HTT
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 "
10 matches
Mail list logo