Code Comments
Programming Forum and web based access to our favorite programming groups.Hey Everyone, Do we know where I can get a clear definition of "query_string"? What are included by the "query_string" returned by the apache web server? Thanks! Mike __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
Post Follow-up to this messageMike Ni wrote: > Hey Everyone, > > Do we know where I can get a clear definition > of "query_string"? > > What are included by the "query_string" > returned by the apache web server? Everything after the ? is the query_string for a get (POST is somewhat different.) For example - See: http://insecurity.org/cgi/cgi_refle...ngQuestioningMe Not sure where I got that one - somewhere on the Internet... -- _Sx_ http://youve-reached-the.endoftheinternet.org/ _____ perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | grep Martian
Post Follow-up to this message--- WC -Sx- Jones <sx@insecurity.org> wrote: > > Everything after the ? is the query_string for a get > (POST is somewhat different.) > > For example - See: > http://insecurity.org/cgi/cgi_refle...ngQuestioningMe > > Not sure where I got that one - somewhere on the > Internet... > > Thanks for the response. Is there any connection between "CONTENT_LENGTH" & "query_string"? Thanks! MIke __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
Post Follow-up to this messageMike Ni wrote: > Thanks for the response. > Is there any connection between "CONTENT_LENGTH" & > "query_string"? > No. Why do you ask? -- _Sx_ http://youve-reached-the.endoftheinternet.org/ _____ perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | grep Martian
Post Follow-up to this message--- WC -Sx- Jones <sx@insecurity.org> wrote: > Mike Ni wrote: > > > No. Why do you ask? > I am not clear why we need CONTENT_LEGTH. I thought the CONTENT_LENGTH is designed to tell me how long the message is. I better double check the definition. Is there any place we can look up the definition of these such as "CONTENT_LENGTH" & query_string. From the example, I see the query_string. Yet, how it is structured? Or I simply don't need to worry about it. Thanks! Mike __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
Post Follow-up to this messageMike Ni wrote: > Is there any place we can look up the definition > of these such as "CONTENT_LENGTH" & query_string. For the environment variables: http://hoohoo.ncsa.uiuc.edu/cgi/env.html For the HTTP headers that these variables are derived from: http://www.w3.org/Protocols/rfc2616/rfc2616.txt
Post Follow-up to this messagef > To sum it up: > > a) Try to find the information yourself, Google is a > great tool and has the > added benefit that you won't have to wait for an > answer from the list... > b) Ask specific questions about what you don't > understand on the > _appropriate_ mailing list. > Please let me know if you find anything really document how query_string's structure from "google". As a matter fact, I do think you will have a better luck with yahoo for this spcifgic topic. I google the web & apache site several times. Yet, nothing really answer the question. The question I am asking you, specifically is "how the query_string is constructed". Is this clear to you? Let me know spcifically which part you don't unstand. Thanks! Mike __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
Post Follow-up to this messageOn Mar 24, 2004, at 12:36 PM, Mike Ni wrote: > The question I am asking you, specifically is > "how the query_string is constructed". > Is this clear to you? Let me know spcifically which > part you don't unstand. The part we don't understand is why you keep asking this Perl mailing list a question that doesn't have anything to do with Perl. ;) James
Post Follow-up to this message> > The part we don't understand is why you keep asking > this Perl mailing > list a question that doesn't have anything to do > with Perl. ;) > > James Thanks for clearing up for me. However, so far I learnd 2 things: (1) Instead of parsing the string, I can use Apache::Request perl pre-built module. (2) The query_string is really a product of the client. I am not a perl expert, but I do learn a lot from these. To me, such information could benefit many many perl beginner including myself. Have fun! Mike __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
Post Follow-up to this messageJames Edward Gray II wrote: > The part we don't understand is why you keep asking this Perl mailing > list a question that doesn't have anything to do with Perl. ;) Especially since this is so well documented - it is almost why the Internet (WWW) exists today. First hit right off Google: http://www.webopedia.com/TERM/Q/query_string.html Now we can officially say this is a FAQ and can be found searching these archives... -- _Sx_ http://youve-reached-the.endoftheinternet.org/ _____ perldoc -qa.a | perl -lpe '($_)=m("(.*)")' | grep Martian
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.