Hi there, I don't really see any "serious" problem in your code except that your opening <body> tag is in the wrong place :).
Since I don't have php/apache running on my XP I cannot really tell if this is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on Linux and (4.2.2/2.0.40) on Windows 2000 Pro. Your code works whether it's GET or POST. So, one thing that you might want to try is to install the latest version of PHP. Esp., as the php.net site says that the latest version (4.2.3) is "recommended update for all users of PHP, and Windows users in particular ". Also, you may want to check previous posts regarding 4.2.2/2.0.40 combination--doesn't look so stable on XP(?)... - E "Howard Roscoe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >Hi all, > >I'm assuming this is an installation error, hence the posting to this group. > >I've got an html form but when I use the POST method the form variables >don't make it to the destination page, when I use the GET method, there's no >problem. I've uploaded the test pages to our web servers and the POST and >GET methods both work fine, therefore I'm assuming it's a problem with my >installation, which is; > > PHP 4.2.2 > Apache 2.0.40 on Windows XP Pro with as many MS patches as I can find >!!. > >I've tried this with and without the register_globals, I've also tried >setting the "always_populate_raw_post_data" to on by way of a stab in the >dark. > >The only thing I can think of is something to do with the Apache >configuration, but I can't find anythnin in there re this. > >The test PHP is; > >Form Page: > ><html> ><head> ><title>Untitled Document</title> ><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ></head> > ><form action="b.php" method=post name="bb"> ><input name="aa" type="text" value="12" size="10"><br> ><input name="a1" type="submit"> ></form> ><body> > ></body> ></html> > > > >Target Page: > ><html> ><head> ><title>Untitled Document</title> ><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ></head> ><?php > > echo "POSTED :".$_POST["aa"]."<br>"; > echo "GET :".$_GET["aa"]."<br>"; > >?> ><body> > ></body> ></html> > > >Any help / pointers will be much appreciated as this is starting to drive me >nuts. > >Thanks, >Howard > > > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php _________________________________________________________________ $B%-%c%j%"%"%C%W$rL\;X$9$"$J$?$N%J%S%2!<%?!<(B MSN $B="?&!&E>?&(B http://career.msn.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php