I've just been running into some wierd issues regarding the header() function, which I'm not 100% sure if it's desired behaviour or not.
Basically, we have a few variables such as:
$var = "foo=1&bar=2";
Now this variable gets used in 2 cases. The first is as a direct link in an <a href>. The second is as an automatic redirect using header ("Location: blah"); This works great, but in an order to make this page fully html/xhtml compliant, we've been changing $var so that it's:
$var = "foo=1&bar=2";
Now, for the first case - this works absolutly fine.
For the second case however, header passes the full variable without resolving & to &.
I can't figure out if this is desired or not, if it's not, I'll happily draft up a patch to alter the behaviour - I just want to make sure before I do.
Cheers,
-- Gareth Ardron
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php