Re: New function proposal urlappendvar()

From: Date: Wed, 21 Jan 2004 13:43:57 +0000
Subject: Re: New function proposal urlappendvar()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-7240@lists.php.net to get a copy of this message
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

« previous php.internals (#7240) next »