Reply to Re: how do I append a variable to a url that already contains variables?

Your name:

Reply:


Posted by Toby Inkster on 12/19/06 12:22

David Dorward wrote:

> You can usually use ";" instead of "&" though, which nicely removes the
> need to convert to entities.
> http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2

You *can* yes, but it means that you need to:

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

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.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[Back to original 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

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