Re: [PHP] _POST _GET

2002-11-12 Thread Ernest E Vogelsinger
**WARNING** longer post that usual **WARNING** longer post that usual **WARNING** At 07:54 12.11.2002, Chris Shiflett said: [snip] Anyway, thanks for your insight. Some of these slightly off-topic issues are more interesting than the on-topic ones. :-)

Re: [PHP] _POST _GET

2002-11-12 Thread Charles Wiltgen
Ernest E Vogelsinger wrote... Sorry for the long post, but I believe it is important to have a look at the relevant standards from time to time. Very informative, thanks! -- Charles Wiltgen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] _POST _GET

2002-11-12 Thread Chris Shiflett
Ernest E Vogelsinger wrote: At 07:54 12.11.2002, Chris Shiflett said: [snip] Anyway, thanks for your insight. Some of these slightly off-topic issues are more interesting than the on-topic ones. :-) Maybe our community needs a historian to collect

RE: [PHP] _POST _GET

2002-11-11 Thread Nick Richardson
yes -Original Message- From: GC [mailto:gregchagnon;hotmail.com] Sent: Monday, November 11, 2002 11:27 AM To: [EMAIL PROTECTED] Subject: [PHP] _POST _GET Hi- Can I use both _GET and _POST in the same php file? Thanks!! -Greg -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] _POST _GET

2002-11-11 Thread .: B i g D o g :.
Basically your form is going to use one or the other you might be able to do this... form action=file.php?op=submit method=post name=someform /form Then you can use _GET to get the op=submit and use _POST for the form... never tried so i do not know...but in theory it should work... On

RE: [PHP] _POST _GET

2002-11-11 Thread Nick Richardson
To: GC Cc: [EMAIL PROTECTED] Subject: Re: [PHP] _POST _GET Basically your form is going to use one or the other you might be able to do this... form action=file.php?op=submit method=post name=someform /form Then you can use _GET to get the op=submit and use _POST for the form... never tried

RE: [PHP] _POST _GET

2002-11-11 Thread John W. Holmes
Hi- Can I use both _GET and _POST in the same php file? Thanks!! -Greg Yes, you can use both in your code, but only one method is going to be valid when your page is requested by a user. A user can't request a page with both a GET and POST request at the same time. ---John Holmes... --

Re: [PHP] _POST _GET

2002-11-11 Thread Greg
Thanks everyone :) -Greg John W. Holmes [EMAIL PROTECTED] wrote in message news:001f01c289b9$bebdf3b0$7c02a8c0;coconut... Hi- Can I use both _GET and _POST in the same php file? Thanks!! -Greg Yes, you can use both in your code, but only one method is going to be valid when your page is

Re: [PHP] _POST _GET

2002-11-11 Thread Chris Shiflett
John W. Holmes wrote: Can I use both _GET and _POST in the same php file? Thanks!! Yes, you can use both in your code, but only one method is going to be valid when your page is requested by a user. A user can't request a page with both a GET and POST request at the same time. It is

Re: [PHP] _POST _GET

2002-11-11 Thread Rasmus Lerdorf
ColdFusion developers are more familiar with the URL/form distinction than the get/post one, as the former are variable scopes. PHP developers generally use the get/post distinction due to the arrays $_GET and $_POST. As I understand it, mod_perl developers do not distinguish the two, though

Re: [PHP] _POST _GET

2002-11-11 Thread Chris Shiflett
Rasmus Lerdorf wrote: ColdFusion developers are more familiar with the URL/form distinction than the get/post one, as the former are variable scopes. PHP developers generally use the get/post distinction due to the arrays $_GET and $_POST. As I understand it, mod_perl developers do not

Re: [PHP] _POST _GET

2002-11-11 Thread Rasmus Lerdorf
I prefer PHP's naming convention, but then I cannot claim to be impartial. :-) The use of get/post comes directly from the form tag you mention (you mean HTML spec though, right?) Well, no, the HTTP spec specifies the primitive request methods as being GET, PUT, POST, DELETE, HEAD, OPTIONS and