William, The variable that you are looking for is $_GET[]. This array contained all the field values that were submitted using the GET method as follows.. So instead of <? print("UserName:$UserName<br>"); print("PassWord:$Pass<br>"); ?> Try this instead.. <?php print "UserName: ".$_GET["UserName"].<br>"; print "PassWord: ". $_GET["Pass"]."<br>"); ?> You may want to consider using the long php tags as per my example. The short php tags (eg "<?") are not enabled by default whereas the long version is always availble. If you are still having trouble, try adding the line phpinfo(INFO_VARIABLES); This will display any variables passed using GET, PUT and POST methods. (Will show other variables also. George Patterson george On Mon, 14 Apr 2003 14:20:46 +0800 "William" <william@sz.net.cn> wrote: > Hello, > > I am newbie for this maillist.I have met a problem > with PHP4.3.1 and apache1.3.27, which is unable to > pass parameters to php over apache.My installation > process is as following: > > PHP4.3.1: > ./configure --with-mysql=/usr/local/mysql > --with-apache=../apache_1.3.27 --enable-track-vars > make > make install > > apache: > ./configure --activate-module=src/module/php4/libphp4.a > make install > > after all above process, I test the followin program, and it work > correctly: > <html> > <body> > <? > phpinfo() > ?> > </body> > </html> > > > > > and then I test the following Code(in.php), it works in correctly: > <html> > <body> > <form action="in.php" method=GET> > UserName:<input type="text" name="UserName"><br> > password:<input type="text" name="Pass"><br> > <input type="submit" name="submit" value="submit"> > </form> > <? > print("UserName:$UserName<br>"); > print("PassWord:$Pass<br>"); > ?> > </body> > </html> > > In the above in.php program, I cann't pass parameters values > to UserName and Pass. I don't know it's why? > > Thanks in advance! > > > Sincerely > > XiaoZheng Ning > > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php