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

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

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?


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:
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests