Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

GET vs. POST

 [1/4] from: webmaster:siliconspecies at: 2-Sep-2000 22:49


I have The Official Guide and within there is a small function which is supposed to be able to detect whether GET or POST is used and then access the correct system variable path to receive the info which was submitted by the form. I don't think it works. Anyone else try this code and if so, does it work for you? My cgi works great with GET but seems to die towards the end of the app process using GET because of the length of the string being submitted becomes larger and larger as you proceed. So I wanted to switch to POST. Thanks, Jeff Rubin, CTO & Co-Founder Audiopia Shutup and Listen... http://www.audiopia.com also check out my personal site Brainbyte! http://www.brainbyte.com

 [2/4] from: webmaster:siliconspecies at: 2-Sep-2000 22:56


Duh, forget. I got it working. :] Jeff Rubin, CTO & Co-Founder Audiopia Shutup and Listen... http://www.audiopia.com also check out my personal site Brainbyte! http://www.brainbyte.com

 [3/4] from: princepawn:lycos at: 5-Sep-2000 12:14


I cant imagine why it matters whether input is GET or POST... either way you want to pick the values out of a query string... in Perl, the CGI.pm module allows you to get at key-value pairs regardless of whether the data was sent via GET or POST, and I for one have never cared how it came as long as I got it. --- On Sat, 2 Sep 2000 22:49:02 webmaster wrote:

 [4/4] from: webmaster:siliconspecies at: 5-Sep-2000 17:03


GET in Rebol is like you describe however, POST comes a string which you have to parse which is really a hassle, as far as my experience recently showed. I had to parse everything and do all kinds of little things to get the thing into a block with single values I could reference. At 12:14 PM 9/5/00 -0700, you wrote:
>I cant imagine why it matters whether input is GET or POST... either way >you want to pick the values out of a query string... in Perl, the CGI.pm
<<quoted lines omitted: 30>>
>Get your FREE Email and Voicemail at Lycos Communications at >http://comm.lycos.com
Jeff Rubin, CTO & Co-Founder Audiopia Shutup and Listen... http://www.audiopia.com also check out my personal site Brainbyte! http://www.brainbyte.com

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted