[PHP-DEV] problem with post data

2002-06-18 Thread rang pheng


Hi. I'm Rang.

Now I try develop with php.

But when I pass data from the Form why I can not get it.

I code it follow :

form.html

html

 body

form method=POST action=form.php

 inut type=text name=txtname

input type=submit value=submit

/body/html

form.php

?

echo data pass from form is :$txtname;

?

Yes, when I try to submit the form the error is :

Notice: Undefined variable: NAME in d:\inetpub\wwwroot\php\testform\formtest.php on 
line 2


How it is wrong ! It wrong my configuration.

Please help me to correct this problem.

Thanks in advance.

Bye bye.



-
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup


Re: [PHP-DEV] problem with post data

2002-06-18 Thread Chris Shiflett

The reason for this is most likely that your PHP configuration is not 
setup to create global variables for data contained in a POST.

You'll probably find more help on the [EMAIL PROTECTED] mailing 
list. This list is for the development of PHP only.

Chris

rang pheng wrote:

Hi. I'm Rang.

Now I try develop with php.

But when I pass data from the Form why I can not get it.

I code it follow :

form.html

html

 body

form method=POST action=form.php

 inut type=text name=txtname

input type=submit value=submit

/body/html

form.php

?

echo data pass from form is :$txtname;

?

Yes, when I try to submit the form the error is :

Notice: Undefined variable: NAME in d:\inetpub\wwwroot\php\testform\formtest.php on 
line 2


How it is wrong ! It wrong my configuration.

Please help me to correct this problem.

Thanks in advance.

Bye bye.



-
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
  




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php