Re: W3C html validation issue

From: Date: Tue, 23 Jul 2002 00:06:50 +0000
Subject: Re: W3C html validation issue
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86097@lists.php.net to get a copy of this message
(snip) on the &amp; subject.. i pressume this is a html only thing, if i try a header("Location ".$url), where $url has &amp;'s in them php failed to recognise variables from that.. if the link is made inside an <a> tag in the same way i didnt experience this problem (using IE5.0 5.5 and 6.0), so i pressume the browser converts the &amp; to & in the GET request. i dont know if it still does that as i havent had time to test it, but basically &amp; works fine in html tags and similar, and you better do a str_replace('amp;','',$url) for header("Location: ".$url); since explorer doesnt convert it, i haven't tried with the rest of the browser pool available .. p.s. if i set arg_separator.output = "&amp;" ... if i have a file.php?bla=foo&foo=bar its going to define $_GET['bla'] = "foo&foo=bar" ? p.p.s. if thats a yes, perhaps you can add multiple options to arg_seperator.output ? so you can define them by priority, first parse &amp; then parse &, then parse ; .. i just god the wierd idea of setting arg_seperator.output to ';'. please stop me.

« previous php.dev (#86097) next »