|
Posted by Doug on 10/10/05 18:09
Thanks!
"Toby Inkster" <usenet200510@tobyinkster.co.uk> wrote in message
news:k0ip13-3ad.ln1@ophelia.g5n.co.uk...
> 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]
|