Re: Question on query string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 16, 2004 09:06, Stuart Felenstein wrote:

> Why is each value preceeded by the %5B%5D ?  I think
> the % is for wildcards, but for the life of me can't
> figure out what 5B and 5D stand for.
>
> Ind%5B%5D=2&Ind%5B%5D=3&Ind%5B%5D=4&Ind%5B%5D=5..........
Stuart,

The % is an escape character to let the browser know that the character isn't 
allowed in a URL.  The browser then looks at the next 2 characters as a hex 
code for the ASCII character which should be there.

So for %5B, it really is '[', and %5D really is ']'.

You can see what all the ASCII codes are here:
http://www.asciitable.com/

HTH
-- 
Regards,
David Bevan

We could learn a lot from crayons: 
some are sharp, some are pretty, some are dull, some have weird names, 
and all are different colors....but they all exist very nicely in the same 
box. 

http://www.getanyideas.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux