You are here: Re: how do I append a variable to a url that already contains variables? « HTML « IT news, forums, messages
Re: how do I append a variable to a url that already contains variables?

Posted by David Dorward on 12/19/06 22:46

Toby Inkster wrote:

>> You can usually use ";" instead of "&" though, which nicely removes the
>> need to convert to entities.

> 1. Hex encode a literal semicolon as '%3B' when it appears
> in a query string; and

Which happens a lot less frequently then having multiple pieces of data
there does.

> 2. Program your server-side script to accept both semicolons
> *and* ampersands for input (as form submissions will
> continue to use ampersands in the query sring), and of
> course have a reliable way of detecting which delimiter
> has been used for a given submission.

Most libraries, in my experience, for handling form data do this by default.
The only time I've not been able to do this is when working with a rather
nasty JSP system.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация