Probably you don't have the Register Global turned on in your php.ini, try using $_GET['usernm'] and $_GET['passwd'] or change your php.ini
At 01:41 p.m. 07/18/2002 +0800, you wrote: >hello, >I have just installed apache+php4, but my php can not get values from form? >what's wrong? >following is the code in php named file "welcome.php" ><?php >echo( "Welcome to our Web site, $usernm $passwd!" ); >?> > >I called it with >http://localhost/welcome?username=hhhh&passwd=bbb >i get nothing, what's wrong? > > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php