[FX.php List] $_GET won't GIT

Joel Shapiro jsfmp at earthlink.net
Thu Jan 17 19:16:14 MST 2008


hmm... I don't know ggt's suggestion (I expect I may soon learn)

Where/how do you specify the page that the form submits to?  I place  
that in the action="page.php" part, either hard-coded or as a  
variable, such as:

echo '<form method="post" action="page.php" name="form">';
  or
echo '<form method="post" action="'.$url.'" name="form">';
  or
echo '<form method="post" action="'.$_SERVER['REQUEST_URI'].'"  
name="form">';


-Joel



On Jan 17, 2008, at 6:06 PM, Jonathan Schwartz wrote:

> Joel,
>
> Answer #1: (Per ggt's suggestion a while back)
>
> <form action="" method="post">
>
> Answer #2:
> Why Yes, the URL *does* contains the original GET parameters that  
> arrived with the GET page once the FORM has been submitted. That  
> explains why the data is ending up in GET at the same time as The  
> POST data is being collected.
>
> Do I need to manually unset it?
>
>
> J
>
>
> At 5:46 PM -0800 1/17/08, Joel Shapiro wrote:
>> Hey Jonathan
>>
>> One thought: What are you using as the page in your <form  
>> action="....?  Are you creatiing the page name dynamically (such  
>> as w/ a flavor of $_SERVER['REQUEST_URI'] -- which could include  
>> your GET data), or do you have the page name hardcoded (e.g.  
>> action="page.php")?
>>
>> Once the page has been submitted via the form/submit, does your  
>> url contain the GET data?
>>
>> -Joel
>
> -- 
> Jonathan Schwartz
> Exit 445 Group
> jonathan at exit445.com
> http://www.exit445.com
> 415-381-1852
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list