James Devenish wrote:

$url .= strstr($url,'?')?"?foo=$foo":"&foo=$foo";


Without wanting to make any comment about the merits of the proposed
function, I would have thought there would be merit in having a set of
generalised URL-manipulation functions (if someone wanted to write them,
that is).


Shouldn't that go into separate module (available from PEAR) or something? Sticking as many things into the core as possible seems to be the reason a lot of people don't like PHP ;)

--
Petras Kudaras
aka  moxliukas

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



Reply via email to