|
Posted by Toby Inkster on 10/10/05 10:32
Doug wrote:
> What is the coding ver=2& mean?
The URL is "download.php?ver=2&file=somefile.exe". However, HTML has
certain "special characters" which must be "escaped".
For example, if you're writing some maths and need to use the "less than"
sign, you shouldn't just use "<", because browsers might interpret it as
the start of a tag, so you use "<" (this type of code is called an
"entity reference".
Similarly, when you want to use an "&" as part of normal text, or part
of a URL, you can't use "&", because browsers might interpret it as the
start of an entity reference. So you need to write it as "&" instead.
So the URL "download.php?ver=2&file=somefile.exe" is linked to like this:
<a href="download.php?ver=2&file=somefile.exe">
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|