Re: Post Problem
| From: | BigDog | Date: | Mon, 18 Nov 2002 10:55:20 +0000 |
| Subject: | Re: Post Problem | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124954@lists.php.net to get a copy of this message | ||
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 <br>SQN: 4SQN=4<br>
> <html>
> <head>
>
> <title> Nifcap - Export Checks</title>
>
>
> <table WIDTH=100%>
> <tr>
> <td WIDTH=5% bgcolor="#CCCCCC"><font face=" arial"
> size ="3"
> >Export Checks</font></td>
>
> </tr>
> </table>
> <br>
>
> <body bgcolor="f0ffff" text="000000">
> <font face=" font_type" size ="3">
> <a
>
> HREF="https://122.192.204.199/payment/tmp/checks_4SQN=4.zip">checks_4SQN=4.zip</a><br><br><table
> WIDTH= 100%>
> <tr>
> <td WIDTH=11% bgcolor="66ffff" ><font face=" arial" size
> ="3"><a
>
> HREF="https://122.192.204.199/payment/pay_menu.php">Liheap
> Processing
> Menu</a></td></font>
>
> <td WIDTH=11% bgcolor="66ffff" ><font face=" arial" size
> ="3"><a
> HREF="https://122.192.204.199/main.php">Main
> Menu</a></td></font>
> <td WIDTH=11% bgcolor="66ffff" ><font face=" arial" size
> ="3"><a
>
> HREF="https://122.192.204.199/logout.php">Logout</a></td></font>
> </tr>
> </table>
> <br>
>
> </font>
> </body>
> </html
>
> On Mon, 2002-11-18 at 04:44, BigDog wrote:
> > 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?
> > > >
> > > > 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 at 17:30, Dave J. Hala Jr. wrote:
> > > > > 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>
> > > > > <option VALUE="4">4</option>
> > > > > <option VALUE="6">6</option>
> > > > > <option VALUE=""></option>
> > > > > </select>
> > > > >
> > > > > After clicking submit, when I echo the variable in the post script,I get
> > > > > the following results:
> > > > > SQN=4
> > > > >
> > > > > I should get the value "4"
> > > > >
> > > > > Doing an echo "$_POST[SQN] <BR>"; yields the same results.
> > > > >
> > > > >
> > > > > I didn't start seeing this until this week. I don't know what
> > > > > changed,
> > > > > but it only happens with certain variables on certain posts. Anyone
> > > > > else seen this type of behavior?
> > > > >
> > > > >
> > > > > :) Dave
> > > > >
> > > > > --
> > > > >
> > > > > "...Unix, MS-DOS and Windows NT (also known as the Good, the Bad, and
> > > > > the Ugly)"
> > > > >
> > > > > OSIS
> > > > > Dave J. Hala Jr.
> > > > > 641.485.1606
> > > > --
> > > > .: B i g D o g :.
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit:
> > > > http://www.php.net/unsub.php
> > > --
> > >
> > > "...Unix, MS-DOS and Windows NT (also known as the Good, the Bad, and
> > > the Ugly)"
> > >
> > > OSIS
> > > Dave J. Hala Jr.
> > > 641.485.1606
> > --
> > .: B i g D o g :.
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> --
>
> "...Unix, MS-DOS and Windows NT (also known as the Good, the Bad, and
> the Ugly)"
>
> OSIS
> Dave J. Hala Jr.
> 641.485.1606
--
.: B i g D o g :.