[PHP] Re: Are $_POST and $_GET interchangable?

2004-03-10 Thread Henry Grech-Cini
Hi You can use both $_GET and $_POST at the same time. As an example imagine that you had a script that generated a HTML form for collecting data. And image that that script generated different forms on the basis of a parameter passed in the URL (i.e. a $_GET value). Of the top of my head like

[PHP] Re: Are $_POST and $_GET interchangable?

2004-03-10 Thread Five
David Jackson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I understand the difference between how they process from data. Most application seem to reply on $_GET which display the session/from/cookie values in the URL windows. What I'm not clear on are there times when you have

RE: [PHP] Re: Are $_POST and $_GET interchangable?

2004-03-10 Thread Jay Blanchard
[snip] for $_GET[], I found indirect references (documentation of other subjects that use $_GET[] and $_POST[] ) but no documentation focusing directly on either. Is there on line documentation specifically dedicated to these two phenomena? [/snip] This is more of a general web programming

RE: [PHP] Re: Are $_POST and $_GET interchangable? MORE

2004-03-10 Thread Jay Blanchard
[snip] stuff [/snip] From http://www.w3.org/TR/html4/interact/forms.html#h-17.13.1 17.13.1 Form submission method The method attribute of the FORM element specifies the HTTP method used to send the form to the processing agent. This attribute may take two values: get: With the HTTP get

Re: [PHP] Re: Are $_POST and $_GET interchangable?

2004-03-10 Thread Five
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] for $_GET[], I found indirect references (documentation of other subjects that use $_GET[] and $_POST[] ) but no documentation focusing directly on either. Is there on line documentation specifically dedicated to

Re: [PHP] Re: Are $_POST and $_GET interchangable?

2004-03-10 Thread Kelly Hallman
Mar 10 at 9:45am, Five wrote: If I have some snap and I want to see some other employee's info I can then type it into the URL http://www.foo.com/employee.php?eid=bstreisand The rules for usage come down to this - A little common sense goes a long way. There are really no specific rules.

Re: [PHP] Re: Are $_POST and $_GET interchangable? MORE

2004-03-10 Thread Five
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] stuff [/snip] From http://www.w3.org/TR/html4/interact/forms.html#h-17.13.1 17.13.1 Form submission method The method attribute of the FORM element specifies the HTTP method used to send the form to the

Re: [PHP] Re: Are $_POST and $_GET interchangable? MORE

2004-03-10 Thread daniel
something a little off topic, aparantly the manual says that $_POST is read only ? I've managed in 4.3.1 to add tot he $_POST array after posting ?? hehe Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] stuff [/snip] From

Re[2]: [PHP] Re: Are $_POST and $_GET interchangable? MORE

2004-03-10 Thread Richard Davey
Hello daniel, Thursday, March 11, 2004, 2:40:08 AM, you wrote: deo something a little off topic, aparantly the manual says that $_POST is read deo only ? Where does it say this? The $_POST array is like any other array, although populated at the start, you can still manipulate it, remove from