[PHP] $HTTP_POST_VARS

2004-10-07 Thread Pahlevanzadeh Mohsen
Dears,I need to my program is waitting while $HTTP_POST_VARS change Please guide me.. = -DIGITAL SIGNATURE--- ///Mohsen Pahlevanzadeh Network administrator & programmer My home phone is: +98213810146 My email address is

Re: [PHP] $HTTP_POST_VARS

2003-06-09 Thread Àíòîí
Hi AH> Whats the advantage (or shall i say disadvantage )of passing form variables to a function like shown below: AH> function function_name($var,$var1,$var2) AH> { AH> } AH> rather than passing the $HTTP_POST_VARS array to the fuction like: AH> function function_name($HTTP_POST_VARS) AH> {

[PHP] $HTTP_POST_VARS

2003-06-09 Thread Awlad Hussain
Whats the advantage (or shall i say disadvantage )of passing form variables to a function like shown below: function function_name($var,$var1,$var2) { } rather than passing the $HTTP_POST_VARS array to the fuction like: function function_name($HTTP_POST_VARS) { } Is any better than other? or

[PHP] HTTP_POST_VARS empty!

2003-03-12 Thread Vincent M.
Hello, I don't understand this code empty my HTTP_POST_VARS variable: if ((get_magic_quotes_gpc() == 1)) { switch ($REQUEST_METHOD) { case "POST": while (list ($key, $val) = each ($HTTP_POST_VARS)) { $$key = stripslashes($val); } break; case "GET": while (list ($key, $v

Re: [PHP] $HTTP_POST_VARS problem

2002-12-16 Thread Lee P. Reilly
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

Re: [PHP] $HTTP_POST_VARS problem

2002-12-16 Thread Joseph W. Goff
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"

Re: [PHP] $HTTP_POST_VARS problem

2002-12-16 Thread 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

Re: [PHP] $HTTP_POST_VARS problem

2002-12-16 Thread Chris Shiflett
--- "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

Re: [PHP] $HTTP_POST_VARS problem

2002-12-16 Thread rblack
To: PHP <[EMAIL PROTECTED]> Subject: [PHP] $HTTP_POST_VARS problem

Re: [PHP] $HTTP_POST_VARS problem

2002-12-16 Thread Jason Wong
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

[PHP] $HTTP_POST_VARS problem

2002-12-16 Thread Lee P. Reilly
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

Re: [PHP] HTTP_POST_VARS Question

2002-06-20 Thread Erik Price
On Thursday, June 20, 2002, at 02:41 PM, Chris Sechiatano wrote: > Just a simple question about the HTTP_POST_VARS. I know my forms will > work > if I use only the name of the input. Say a text box called FirstName. > I > can just do: > > print "$FirstName"; > > and everything works fine. Wh

[PHP] HTTP_POST_VARS Question

2002-06-20 Thread Chris Sechiatano
Hi, Just a simple question about the HTTP_POST_VARS. I know my forms will work if I use only the name of the input. Say a text box called FirstName. I can just do: print "$FirstName"; and everything works fine. Why would I want to use print $HTTP_POST_VARS["FirstName"]; instead? Thanks

Re: [PHP] $HTTP_POST_VARS vs _POST

2002-04-22 Thread Erik Price
On Monday, April 22, 2002, at 12:19 PM, [EMAIL PROTECTED] wrote: > HI ML > > Only one little question : > I know that _POST doesn't exists on php 4.0.6 but does $HTTP_POST_VARS > exist on php 4.1.2 ? Yes, but you would have had an answer to this question 45 minutes ago if you had just tried i

[PHP] $HTTP_POST_VARS vs _POST

2002-04-22 Thread DrouetL
HI ML Only one little question : I know that _POST doesn't exists on php 4.0.6 but does $HTTP_POST_VARS exist on php 4.1.2 ? Regards Laurent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $HTTP_POST_VARS

2002-03-21 Thread Miguel Cruz
On Thu, 21 Mar 2002, Joshua E Minnie wrote: > I need to access a variable on a form that allows multiples. I have to use > $HTTP_POST_VARS so I need to know how to display the information obtained > from the form. This is what I am using right now: > >reset($HTTP_POST_VARS["interest"]); >

RE: [PHP] $HTTP_POST_VARS

2002-03-21 Thread Rick Emery
To: [EMAIL PROTECTED] Subject: [PHP] $HTTP_POST_VARS I need to access a variable on a form that allows multiples. I have to use $HTTP_POST_VARS so I need to know how to display the information obtained from the form. This is what I am using right now: Both $HTTP_POST_VARS["interest"]

[PHP] $HTTP_POST_VARS

2002-03-21 Thread Joshua E Minnie
I need to access a variable on a form that allows multiples. I have to use $HTTP_POST_VARS so I need to know how to display the information obtained from the form. This is what I am using right now: Both $HTTP_POST_VARS["interest"] and $HTTP_POST_VARS["interest[]"] throw errors. Any suggesti

RE: [PHP] HTTP_POST_VARS problem

2002-02-08 Thread Tim Ward
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

Re: [PHP] HTTP_POST_VARS problem

2002-02-07 Thread ejfs
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

[PHP] HTTP_POST_VARS problem

2002-02-07 Thread ejfs
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 "

[PHP] HTTP_POST_VARS and passing by reference

2002-01-17 Thread Bryan McCloskey
Hello, I'm attempting to make a function to which I can pass my form variables, to wit: clean_input($HTTP_POST_VARS); which will run through the array and clean up the variables. However, the passing by reference is giving me the screaming fits. No matter what I do, I can't seem to get the func

Re: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread mweb
> reset($HTTP_POST_VARS); > > at the begining of the code. if that doesn't work verify your html again. > make sure the 's are between the form tag. php doesn't ignore > certain form fields. =) > > i'm the habit of reading arrays like... > while(list($k,$v) = each($HTTP_POST_VARS)) { > echo "

RE: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread De Necker Henri
ory tree! This also works both ways : $loc = "../files/poese.txt" $loc = "..//files//poese.txt" -Original Message- From: Jason [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 10:54 To: mweb; phplist Subject: Re: [PHP] HTTP_POST_VARS truncated try: reset($HTTP_POST_VARS); at

Re: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread Jason
try: reset($HTTP_POST_VARS); at the begining of the code. if that doesn't work verify your html again. make sure the 's are between the form tag. php doesn't ignore certain form fields. =) i'm the habit of reading arrays like... while(list($k,$v) = each($HTTP_POST_VARS)) { echo "key is $k -

Re: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread Andrey Hristov
I cannot compile this: try that : foreach ($HTTP_POST_VARS as $key => $var){ print "VAR: $var KEY = $key"; } Regards, Andrey Hristov - Original Message - From: "mweb" <[EMAIL PROTECTED]> To: "phplist" <[EMAIL PROTECTED]> Sent: Fri

[PHP] HTTP_POST_VARS truncated

2001-11-30 Thread mweb
Hello, To test the http/php setup on one of my computers I wrote a very simple html form, with two select fields, two text fields, and the submit field. Pushing submit the data are sent via POST method to an extremely simple PHP page which only contains something like: foreach (var, key) in HTTP

RE: [PHP] HTTP_POST_VARS, forms, and not allowing modifications.

2001-11-25 Thread C. Bensend
On Mon, 26 Nov 2001, Martin Towell wrote: > you said you tried a text field, have you tried a hidden field? Alrighty then, my greenness shows. :) The hidden field idea was perfect (never used one before). Thank god I'm just playing around with my _own_ site. ;) Thanks Martin! Benny ~

RE: [PHP] HTTP_POST_VARS, forms, and not allowing modifications.

2001-11-25 Thread Martin Towell
nt: Monday, November 26, 2001 8:18 AM To: [EMAIL PROTECTED] Subject: [PHP] HTTP_POST_VARS, forms, and not allowing modifications. Hey folks, I am working on a database-driven site, and have run into a problem. It's not a problem with any existing code, more of a "how the heck do I do

[PHP] HTTP_POST_VARS, forms, and not allowing modifications.

2001-11-25 Thread C. Bensend
Hey folks, I am working on a database-driven site, and have run into a problem. It's not a problem with any existing code, more of a "how the heck do I do this" sort of thing. I have a table, that is generated from a database query: +---+---++--

[PHP] HTTP_POST_VARS and eval?

2001-11-15 Thread Henrik Hudson
Hey List- Working on a program and I seem to have run into a problem with HTTP_POST_VARS. Are the HTTP_VARS considered "special"? Here is what I am doing, reading in from a file into an array and then grabbing each line and looking for ]string[ and replacing that with $HTTP_POST_VARS["stri

Re: [PHP] HTTP_POST_VARS: Data there, but can't get to it

2001-11-10 Thread Tom Rogers
Hi This works (save as whatdo.php) Whatdo "; $row++; endwhile; else: ?> Row Options Load Delete Change Category

Re: [PHP] HTTP_POST_VARS: Data there, but can't get to it

2001-11-10 Thread Christopher William Wesley
Name the form element without the brackets ... just "whatdo" instead of "whatdo[]". When $whatdo[] makes it to your formhandler, it's an array. (You _could_ access $whatdo[0] ... but that may or may not be more confusing.) ~Chris /"\

Re: [PHP] HTTP_POST_VARS: Data there, but can't get to it

2001-11-10 Thread Lara J. Fabans
Just an addendum, I changed it from radio buttons to a pop up menu Load Delete Change Category Again, if I print_r (HTTP_POST_VARS), I can see the Array ( [whatdo] => Array ( [0] => load [1] => delete), [other s

Re: [PHP] HTTP_POST_VARS: Data there, but can't get to it

2001-11-10 Thread Lara J. Fabans
My bad for typing it in from memory. I'd retyped it in a few times, so I thought i had it perfect. Here's the exact code: print_r ($HTTP_POSTVARS); // yeilds the array that I pasted down below if ($flag=="process") { $whatdo = $HTTP_POSTVARS['whatdo']; print_r($what_do); // blank . . . for (

Re: [PHP] HTTP_POST_VARS: Data there, but can't get to it

2001-11-09 Thread Tom Rogers
Hi Your whatdo's will be whatdo0 whatdo1...whatdox You need to do like this if I understand what you are doing :) $row=0; while($row < $numofrows): $var = "whatdo".$row; $whatdo = $submitted_vars["$var"]; //do whatever with $whatdo . $row ++; endwhile; Tom At 09:41 AM 10/11/01, La

Re: [PHP] HTTP_POST_VARS: Data there, but can't get to it

2001-11-09 Thread Christopher William Wesley
On Fri, 9 Nov 2001, Lara J. Fabans wrote: > The original form has a table where each row has a set of 3 radio > buttons name="whatdo[]" where $x is the row counter. Well, for a set of raido buttons, they should all have the same name. In your case, all 3 radio buttons should be named "whatdo"

[PHP] HTTP_POST_VARS: Data there, but can't get to it

2001-11-09 Thread Lara J. Fabans
Hi, I'm having some difficulties accessing HTTP_POST_VARS The original form has a table where each row has a set of 3 radio buttons name="whatdo[]" where $x is the row counter. (I'm using PHP to pull info into a table, then the user manipulates the info, and it places the info into 2 other ta

[PHP] $HTTP_POST_VARS

2001-09-12 Thread Jochen Kaechelin
Is this a secure way to check if some data comes from a form-field of the previous page, or ist it possible to fill it without submitting a form? -- Jochen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread pierre-yves
To: <[EMAIL PROTECTED]> Sent: Monday, August 27, 2001 9:48 PM Subject: [PHP] $HTTP_POST_VARS > Hello all, > I am wondering if there is a command or function to get a list of all the > current '$HTTP_POST_VARS["variable"]' variables? Or, a user-created way

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Thanks! -Andy Jason Murray <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am wondering if there is a command or function to get a > > list of all the current '$HTTP_POST_VARS["variable"]' variables? > > Or, a user-created way... Any helps appreciated, thank

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Ah, its that simple? -feels likea bit of an idiot- Thanks for the help! Tim <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > while (list($k,$v) = each($HTTP_POST_VARS)) { > echo "$k = $v"; > } > > On Mon, 2001-08-27 at 21:48, Andy Ladouceur wrote: > > Hello all

RE: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Jason Murray
> I am wondering if there is a command or function to get a > list of all the current '$HTTP_POST_VARS["variable"]' variables? > Or, a user-created way... Any helps appreciated, thanks! You can use var_dump($HTTP_POST_VARS); Jason -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Tim
while (list($k,$v) = each($HTTP_POST_VARS)) { echo "$k = $v"; } On Mon, 2001-08-27 at 21:48, Andy Ladouceur wrote: > Hello all, > I am wondering if there is a command or function to get a list of all the > current '$HTTP_POST_VARS["variable"]' variables? Or, a user-created way... > Any h

[PHP] $HTTP_POST_VARS

2001-08-27 Thread Andy Ladouceur
Hello all, I am wondering if there is a command or function to get a list of all the current '$HTTP_POST_VARS["variable"]' variables? Or, a user-created way... Any helps appreciated, thanks! -Andy L. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-20 Thread Hugh Bothwell
"Tom Beidler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a form with approximately 40 input fields. When a form is posted it > sends an email and then builds a tab delimited $txt entry for a text file on > the server. > > The problem is that if a ch

Re: [PHP] HTTP_POST_VARS not picking up checkboxes that areunchecked

2001-06-20 Thread Jens Nedal
The thing can do is as follows: When i want check such empty boxes, i call up the $HTTP_POST_VARS just like you. BUT what i do next ist that while listing those vars i insert an if statement like if (!strstr($key,checkbox_name)) {echo ($error);} So i do a stringmatch with the key and the name..

RE: [PHP] HTTP_POST_VARS not picking up checkboxes that are unche cked

2001-06-19 Thread Merio, Quinn
y Cc: 'Tom Beidler'; [EMAIL PROTECTED] Subject: RE: [PHP] HTTP_POST_VARS not picking up checkboxes that are unche cked I had some issues with that recently. It turns out that PHP will not pick up the checkboxes, unless you use the GET method. You can then access your var

RE: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-19 Thread John Monfort
you ready?" -+___+- On Tue, 19 Jun 2001, Jason Murray wrote: > > Subject: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked > > That's right - if the checkbox isn't checked the browser doesn't send it. > > Jason >

Re: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-19 Thread Rasmus Lerdorf
> The problem is that if a checkbox is not checked, when it's not required, I > don't get a blank entry in my tab file for the checkbox input. I'm imploding > my HTTP_POST_VARS variable like so; This has nothing to do with PHP. Your browser sends nothing for an unchecked checkbox. You would hav

RE: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-19 Thread Jason Murray
> Subject: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked That's right - if the checkbox isn't checked the browser doesn't send it. Jason

[PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-18 Thread Tom Beidler
I have a form with approximately 40 input fields. When a form is posted it sends an email and then builds a tab delimited $txt entry for a text file on the server. The problem is that if a checkbox is not checked, when it's not required, I don't get a blank entry in my tab file for the checkbox i

Re: [PHP] HTTP_POST_VARS variable names?

2001-04-18 Thread Plutarck
Quick answer: HTTP_POST_VARS is an associative array. The "name" of the submitted variables are the keys, and the value of the element is the value that was submitted. -- Plutarck Should be working on something... ...but forgot what it was. ""Mat Marlow"" <[EMAIL PROTECTED]> wrote in message 9

Re: [PHP] HTTP_POST_VARS variable names?

2001-04-18 Thread Renze Munnik
Mat Marlow wrote: > > Hi, > Does anyone know if php stores POST variable names as well as values? I'm > using HTTP_POST_VARS for the values but I'm having to create my own array > for the names. > > cheers, > > Mat > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mai

Re: [PHP] HTTP_POST_VARS variable names?

2001-04-18 Thread Johannes Janson
Hi, this will list all your posted variables with name and the posted value. while (list($key, $value)=each($HTTP_POST_VARS) ) { echo "$key = $value "; } Johannes ""Mat Marlow"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 9bk11q$dvq$[EMAIL PROTECTED]">news:9bk11q$dvq$[EMAIL PROTECTE

[PHP] HTTP_POST_VARS variable names?

2001-04-18 Thread Mat Marlow
Hi, Does anyone know if php stores POST variable names as well as values? I'm using HTTP_POST_VARS for the values but I'm having to create my own array for the names. cheers, Mat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] HTTP_POST_VARS not and array when used in a function?

2001-04-18 Thread Alexander Skwar
So sprach Joseph Blythe am Wed, Apr 18, 2001 at 10:48:14AM +0930: > Hey, > > Why doesn't HTTP_POST_VARS work inside functions? > > ---somefile.php - forms action --- > > function foo() { >reset($HTTP_POST_VARS); Because this particular HTTP_POST_VARS is not the HTTP_POST_VARS you have

Re: [PHP] HTTP_POST_VARS not and array when used in a function?

2001-04-17 Thread Joseph Blythe
Rasmus Lerdorf wrote: > It is a normal global variable. Like all other global variables you need > to declare the fact that you want the global variable inside a function. > Simply put: global $HTTP_POST_VARS; at the top of your function and it > will work just fine. > > Read the section on var

Re: [PHP] HTTP_POST_VARS not and array when used in a function?

2001-04-17 Thread Rasmus Lerdorf
> I thought the above would work but it returns the following error(s): > > ... value passed to reset is not an array or object ... > ... value passed to each is not an array or object ... > > It seems that HTTP_POST_VARS does not like being called from inside > functions, as the above will work

[PHP] HTTP_POST_VARS not and array when used in a function?

2001-04-17 Thread Joseph Blythe
Hey, Why doesn't HTTP_POST_VARS work inside functions? ---somefile.php - forms action --- function foo() { reset($HTTP_POST_VARS); while( list($key, $val) = each($HTTP_POST_VARS) ) { if ( $key != "Submit" xor $key != "x" xor $key != "y" ) { $inpu

RE: [PHP] HTTP_POST_VARS

2001-04-12 Thread Steve Edberg
In PHP3, POST/GET elements could only be one dimensional arrays, at most. In PHP4, though, these can have 2+ dimensions, so for maximum generality you'd have to have somewhat more complex code than this. -steve >-Original Message- >From: Mat Marlow [mailto:[EMAI

Re: [PHP] HTTP_POST_VARS

2001-04-12 Thread Plutarck
Try doing a print_r in the place where you are trying to print data. So you can see if a second dimension slipped in there, or if there is some other problem. I know that the post/get vars are always associative arrays, but I assume refering to them by their numeric keys should work...don't see

RE: [PHP] HTTP_POST_VARS

2001-04-12 Thread Dominick Vansevenant
Mat, did you put in a reset? reset($HTTP_POST_VARS); D. -Original Message- From: Mat Marlow [mailto:[EMAIL PROTECTED]] Sent: donderdag 12 april 2001 16:49 To: [EMAIL PROTECTED] Subject: [PHP] HTTP_POST_VARS Hi all, I'm having trouble retrieving data from $HTTP_POST_VARS. Whene

[PHP] HTTP_POST_VARS

2001-04-12 Thread Mat Marlow
Hi all, I'm having trouble retrieving data from $HTTP_POST_VARS. Whenever I try to print something from it using print($HTTP_POST_VARS[0]); it just prints "Array". And I know it works because I've done it once and can't do it again! Am I missing something glaringly obvious? Thanks for the help,

Re: [PHP] $HTTP_POST_VARS

2001-03-13 Thread Dennis Gearon
Check your browser settings, I had this problem when I had the 'check page never' setting selected, and it went away when I set it to 'check every session' >I am having a similar problem as the original poster. In my case, I _want_ >the second sumbission to overwrite the first, but it's not happ

Re: [PHP] $HTTP_POST_VARS

2001-03-13 Thread David Minor
riginal Message- > From: mat t [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 08, 2001 3:10 PM > To: [EMAIL PROTECTED] > Subject: [PHP] $HTTP_POST_VARS > > > Please can you help: > > I can't send duplicate input types to $HTTP_POST_VARS > For example: &g

Re: [PHP] HTTP_POST_VARS

2001-03-12 Thread Yasuo Ohgaki
No. Check box and radio buttons are not set, though. Regards, -- Yasuo Ohgaki ""stas"" <[EMAIL PROTECTED]> wrote in message 026001c07cc4$aeaa6250$9701a8c0@snewdel">news:026001c07cc4$aeaa6250$9701a8c0@snewdel... Hello, Is it that correct that only non-empty variables get inserted into HTTP_POS

[PHP] HTTP_POST_VARS

2001-03-12 Thread stas
Hello, Is it that correct that only non-empty variables get inserted into HTTP_POST_VARS? I am trying to do server side form validations, and this represents a bit of difficulty in terms of notifying a user about which fields are missing values.

RE: [PHP] $HTTP_POST_VARS

2001-03-08 Thread Nathaniel Hekman
, 2001 3:10 PM To: [EMAIL PROTECTED] Subject: [PHP] $HTTP_POST_VARS Please can you help: I can't send duplicate input types to $HTTP_POST_VARS For example: ---HTML--- First person: NAME Phone No. Second Person: NAME Pho

RE: [PHP] $HTTP_POST_VARS

2001-03-08 Thread Jerry Lake
line - http://www.pacifier.com -Original Message- From: mat t [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 2:10 PM To: [EMAIL PROTECTED] Subject: [PHP] $HTTP_POST_VARS Please can you help: I can't send duplicate input types to $HTTP_POST_VARS For example:

[PHP] $HTTP_POST_VARS

2001-03-08 Thread mat t
Please can you help: I can't send duplicate input types to $HTTP_POST_VARS For example: ---HTML--- First person: NAME Phone No. Second Person: NAME Phone No. --- Then when I use :

RE: [PHP] Newbie: [PHP] $HTTP_POST_VARS

2001-02-20 Thread Jerry Lake
, February 20, 2001 2:08 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Newbie: [PHP] $HTTP_POST_VARS I dont think HTTP_POST_VARS is what your looking for I think its more HTTP_SERVER_VARS -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120

Re: [PHP] Newbie: [PHP] $HTTP_POST_VARS

2001-02-20 Thread Chris Lee
I dont think HTTP_POST_VARS is what your looking for I think its more HTTP_SERVER_VARS -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Phil Labonte"" <[EMAIL PROTECTED]> wrote in message 331AB909C797484B84CF8CF3C711BD4E0992A2@x

Re: [PHP] Newbie: [PHP] $HTTP_POST_VARS

2001-02-20 Thread Simon Garner
From: "Chris Lee" <[EMAIL PROTECTED]> > I dont think HTTP_POST_VARS is what your looking for I think its more > HTTP_SERVER_VARS > > echo $HTTP_SERVER_VARS['HTTP_HOST']; > ?> > > That should work but imho better practice is to use getenv(): This is especially useful inside a function, a

[PHP] Newbie: [PHP] $HTTP_POST_VARS

2001-02-20 Thread Phil Labonte
I have a Newbie question, What is the syntax to get the info from HHTP_POST_VARS? I mean what is the syntax to get the variable COMPUTERNAME for example or to get HTTP_HOST? Thanks Phil Labonte Systems Administrator Atreus Systems (p) 613-233-1741 x243 (c) 613-277-1697 [EMAIL PROTECTED] --

Re: [PHP] $HTTP_POST_VARS

2001-02-15 Thread Richard Lynch
Cesar Castoldi <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, February 15, 2001 1:44 PM Subject: [PHP] $HTTP_POST_VARS >reset($HTTP_POST_VARS); >while (list($key, $val) = each($HTTP_POST_VARS)) { > file://print "$key - $val"; > if (substr($key,

[PHP] $HTTP_POST_VARS

2001-02-15 Thread Augusto Cesar Castoldi
reset($HTTP_POST_VARS); while (list($key, $val) = each($HTTP_POST_VARS)) { //print "$key - $val"; if (substr($key,0,3) == "alt" or substr($key,0,3) == "exc") Somebody can explain or indicate any site about this ($HTTP_POST_VARS)? It is used to do menu in php. If the name of the butt