RE: [PHP] Building an array from a URL

From: Date: Fri, 06 Apr 2001 21:25:51 +0000
Subject: RE: [PHP] Building an array from a URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47508@lists.php.net to get a copy of this message
can you just use a POST instead of a get? seems it might be cleaner in this case... -js > -----Original Message----- > From: Plutarck [mailto:aemuli@spamclause-yahoo.com] > Sent: Thursday, April 05, 2001 11:22 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Building an array from a URL > > > You'll probably want to play with the following function: > > http://www.php.net/manual/en/function.parse-url.php > > > -- > Plutarck > Should be working on something... > ....but forgot what it was. > > > "Mike Gifford" <mike@flora.org> wrote in message > news:3ACB4530.3694CAAC@flora.org... > > Hello, > > > > I'm trying to build an array out of data submitted from a URL. > > > > Essentially, I want to pull certain records out of a database which have > been > > selected on another form. > > > > The URL presently looks like this: > > > superRSS.phtml?150=1150&superRSS166=1166&superRSS168=1168&superRS > S175=1188 > > > > I'd like to take these independent variables and merge them > into a single > array: > > $array_superRSS = implode (":", $superRSS[]); > > > > So I can then pipe these values directly into another function: > > > > while ($array_superRSS) { > > display_superRSS($array_superRSS[]); > > } > > > > Obviously I'm missing a step or two here, but would really appreciate > someone > > filling in some of the gaps. > > > > Thanks! > > > > Mike > > -- > > Mike Gifford, OpenConcept Consulting, > > http://openconcept.ca > > Offering everything your organization needs for an effective web site. > > Featured Client: http://www.aboriginalrightscoalition.ca/ > > If a book doesn't make us better, then what on earth is it for? - Alice > Walker > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#47508) next »