[PHP] Post Problem

2002-11-18 Thread Dave J. Hala Jr.
I'm running php-4.2.2-8.0.5 on Redhat 8.0 Lately I've noticed that when doing a form, listbox variables have funky values in certain situations. Unfortunately, I haven't been to determined what the certain situation is. Here's an example. Here is the listbox in the form: select NAME=SQN

Re: [PHP] Post Problem

2002-11-18 Thread BigDog
That is what you should be getting right? When you have a select statement that has a value as the first one then that is what you will get when you post or get the form. if you want a blank one then do option/option and that should not pass anything in the post or get... On Mon, 2002-11-18

Re: [PHP] Post Problem

2002-11-18 Thread Rick Emery
No, he's saying that: echo $sqn; displays SQN=4. it should say simply 4 - Original Message - From: BigDog [EMAIL PROTECTED] To: Dave J. Hala Jr. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, November 18, 2002 4:33 AM Subject: Re: [PHP] Post Problem That is what you should

Re: [PHP] Post Problem

2002-11-18 Thread Dave J. Hala Jr.
I selected the option that would have the value 4, what I get is 4SQN=4 I should get just the value 4 On Mon, 2002-11-18 at 04:33, BigDog wrote: That is what you should be getting right? When you have a select statement that has a value as the first one then that is what you will get when

Re: [PHP] Post Problem

2002-11-18 Thread BigDog
What does the entire form look like? On Mon, 2002-11-18 at 17:43, Dave J. Hala Jr. wrote: I selected the option that would have the value 4, what I get is 4SQN=4 I should get just the value 4 On Mon, 2002-11-18 at 04:33, BigDog wrote: That is what you should be getting right?

Re: [PHP] Post Problem

2002-11-18 Thread Dave J. Hala Jr.
SQN: 4SQN=4 brSQN: 4SQN=4br html head title Nifcap - Export Checks/title table WIDTH=100% tr td WIDTH=5% bgcolor=#CCfont face= arial size =3 Export Checks/font/td /tr /table br body bgcolor=f0 text=00

Re: [PHP] Post Problem

2002-11-18 Thread BigDog
but where is the form that you created... That was i can see what you have set up inside of the form tag... On Mon, 2002-11-18 at 17:51, Dave J. Hala Jr. wrote: SQN: 4SQN=4 brSQN: 4SQN=4br html head title Nifcap - Export Checks/title table WIDTH=100% tr td

RE: [PHP] Post Problem

2002-11-18 Thread Ford, Mike [LSS]
-Original Message- From: Dave J. Hala Jr. [mailto:[EMAIL PROTECTED]] Sent: 18 November 2002 17:30 I'm running php-4.2.2-8.0.5 on Redhat 8.0 Lately I've noticed that when doing a form, listbox variables have funky values in certain situations. Unfortunately, I haven't been to

Re: [PHP] Post Problem

2002-11-18 Thread Maxim Maletsky
I think you should comment on this bug: http://bugs.php.net/bug.php?id=18648 provide the details about your system configurations and everything else that might help us to fix it. Though, it seems to be an Apache2 problem, so try upgrading that as well. -- Maxim Maletsky [EMAIL PROTECTED]

Re: [PHP] Post Problem

2002-11-18 Thread Dave J. Hala Jr.
I'd be willing to post the entire page, but it's 154 lines of embedded php. Here's the FORM block portion of the page. The $sqn_list_box variable contains the listbox. $export_form .=FONT face= \$font_type\ size =\$font_size\FORM METHOD=\post\ ACTION=\/payment/export_checks.php\

[PHP] POST problem

2001-08-28 Thread Mashrab Kuvatov
Hi everybody, i'm a newie in php, but i have a general understanding of it. Recently, i've installed PHP as a static module on my Apache-1.3.19 and tried an example i read in PHP tutorial. Assume you have a page with a form like this on it: form action=action.php method=post Your name: input

Re: [PHP] POST problem

2001-08-28 Thread B. van Ouwerkerk
Hi ?php echo $name; ?. You are ?php echo $age; ? years old. This action.php is supposed to print out values one enters to the form fields. Right? So, my problem is that it doesn't. Instead, it prints Hi.You are years old. Try: ?php echo($variable);? Have fun, B. -- PHP General Mailing

Re: [PHP] POST problem (thanks)

2001-08-28 Thread Mashrab Kuvatov
--- Steve Edberg [EMAIL PROTECTED] wrote: My guess is that your register_globals config option is off: Your are quite right it is off. Right at the bebinning of php.ini it says so. Blame on me i missed it. You should be able to access the values you want via $HTTP_POST_VARS['name'] and