(snip)

on the & subject.. i pressume this is a html only thing, if i try a
header("Location ".$url), where $url has &'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.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to