Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

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

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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:
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.