On 2/27/06, Sanket Medhi <[EMAIL PROTECTED]> wrote:
> example, http://localhost/index.php?search=somestring should work as
> well. That is, there might or might not be a query string. All I want to
> know is whether such a query string exists or not. And if yes, what

A query string is the part of the URL after the question mark.

The syntax is as follows:
<scheme>://<authority><path>?<query>#<fragment>

So for example, in

http://localhost/index.php?search=somestring

the whole "search=somestring" is the query string. How you happen to deal
with it is up to you.

In CGI culture, we normally pass "key=value" pairs separated by an
ampersand (&)

--
Rohan
http://rohan.almeida.in

--
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to