Hi Colin Sorry for late, because I went vacation.
I received "GET test=2" from "a.php?test=2". In PHP 4.2, I believe that my test script has an error, and your script is correct. I'll wait for updating "phorum" program. Thank you! -- Yasuo Yamasaki <[EMAIL PROTECTED]> At Fri, 20 Dec 2002 15:45:49 +0000, Colin Coles wrote: > > Does this work for you, try first with the submit button then with: > a.php?test=2 > > <form action="a.php" method="post"> > <input type="hidden" name="test" value="1"> > <input type="submit"> > <br> > <? > if($_SERVER[REQUEST_METHOD] == "POST"){ > foreach($_POST as $key => $value){ > $$key = $value; > echo "POST $key=${$key}<br>"; > } > } else { > foreach($_GET as $key => $value){ > $$key = $value; > echo "GET $key=${$key}<br>"; > } > > } > ?> > </form> > > what output do you get? -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list