[Phpwm] multiple values with same name in $_get request

Mike Tipping mike at m-i-g.com
Tue Jul 3 17:11:10 BST 2007


I'm writing a page to process a load of properties that are passed to me as
get variables by a flash application. 

 

There are three parameters ( prodCode, desc and price) but these are sent
multiple times by the Flash app. A typical parameter list is below:

 

prodCode=306045520&desc=10ft%20Fast-Set%20Pool&price=39.99&prodCode=30609401
0&desc=8ft%20x%208ft%20Jumbo%20Bouncy%20Castle&price=79.99&prodCode=32001067
0&desc=Cutting%20Edge%2018v%20Cordless%20Hedge%20Trimmer&price=23.99

 

The problem I am having is that every way I try to access these PHP reads it
as an array and I only get the last values. 

 

Can anyone suggest a way that I can read all the parameters.

 

Cheers

 

Mike 

 



More information about the Phpwm mailing list