Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

QUERY_STRING
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

Report this thread to moderator Post Follow-up to this message
Old Post
Mike Ni
03-27-04 04:14 AM


Re: QUERY_STRING
Mike 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

Report this thread to moderator Post Follow-up to this message
Old Post
Wc -Sx- Jones
03-27-04 04:14 AM


Re: QUERY_STRING
--- 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

Report this thread to moderator Post Follow-up to this message
Old Post
Mike Ni
03-27-04 04:14 AM


Re: QUERY_STRING
Mike 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

Report this thread to moderator Post Follow-up to this message
Old Post
Wc -Sx- Jones
03-27-04 04:14 AM


Re: QUERY_STRING
--- 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

Report this thread to moderator Post Follow-up to this message
Old Post
Mike Ni
03-27-04 04:14 AM


RE: QUERY_STRING
Mike 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

Report this thread to moderator Post Follow-up to this message
Old Post
Bob Showalter
03-27-04 04:14 AM


RE: QUERY_STRING
f
> 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

Report this thread to moderator Post Follow-up to this message
Old Post
Mike Ni
03-27-04 04:14 AM


Re: QUERY_STRING
On 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


Report this thread to moderator Post Follow-up to this message
Old Post
James Edward Gray II
03-27-04 04:14 AM


Re: QUERY_STRING
 
>
> 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

Report this thread to moderator Post Follow-up to this message
Old Post
Mike Ni
03-27-04 04:14 AM


Re: QUERY_STRING
James 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

Report this thread to moderator Post Follow-up to this message
Old Post
Wc -Sx- Jones
03-27-04 04:14 AM


Sponsored Links




Last Thread Next Thread Next
Pages (2): [1] 2 »
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:04 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.