Myreader.co.uk  
uk news, chat and community
   home   |   control panel login   |   archive   |  
 
net
net
news.announce
news.config
news.management
news.moderation
providers
providers.aaisp
web.authoring
  
 
date: Sun, 01 Jun 2008 22:31:41 +0100,    group: uk.net.web.authoring        back       
Re: Validation faliure due to URL...???   
Message-ID: <g1uquv$au2$1@registered.motzarella.org> from :Jerry:
contained the following:

>But my question was about the php variables passed within a URL, what 
>if that html code contains, possibly server side generated, multiple 
>php variables in it (such as www.example.com?cow=2&sheep=3&pigs=2), 
>whilst I can see that there is a problem with browsers misinterpreting 
>ampersands and what follows surely this is a php coding issue and not 
>a browser or html issue - IOW the person writing the php should be 
>aware of the problem and *not* use a text string as a variable that 
>could be misinterpreted whilst the validators should be intelligent 
>enough to ignore php variables within a URL? 


I touched on this in the last part of my post.  The PHP developer cannot
know what might become an entity in the future, IOW &pigs is fine now
but who is to say that it will not be rendered as a small graphic pig in
the future?

The rule is simple - ampersands in URLs on webpages should be written as
&  Nothing to do with php asp or any other language, just simple
html.
-- 
Geoff Berrow  0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
date: Sun, 01 Jun 2008 22:31:41 +0100   author:   Geoff Berrow

Google
 
Web myreader.co.uk


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us