Passing form fields to a PHP page........

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Passing form fields to a PHP page........

Postby WiZARD » Mon Nov 25, 2002 1:23 am

Rodders wrote:What is the 'correct' way to pass form field values to a PHP script. Or rather, how should the script reference them.

Currently I am just using METHOD=GET and then in the PHP script using $variablename, but I read somewhere that there was a better method.

Can anyone enlighten me?

Thanks


Hi!
Yes in action method have 3 type:
GET - send only variable tha you send.
POST - send all form to server.
HEADER - send only headers but nothin else.

I'm using POST. :wink:

Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot], krotbacca and 4 guests