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

Keith Pope keith.pope at allpay.net
Wed Jul 4 09:53:47 BST 2007

Do you have control over the flash app ?

If you do, I would suggest creating an XML and sending the vars like that,
though XML in AS can be a pain sometimes. 

In the past I have used a | to separate multiple values and then split them
with explode().


-----Original Message-----
From: phpwm-bounces at mailman.lug.org.uk
[mailto:phpwm-bounces at mailman.lug.org.uk] On Behalf Of Mike Tipping
Sent: 03 July 2007 17:11
To: 'West Midlands PHP User Group'
Subject: [Phpwm] multiple values with same name in $_get request

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:




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.






Phpwm mailing list
Phpwm at mailman.lug.org.uk

allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, Hereford, HR1 3SE. 
Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88. 

Telephone: 0870 243 3434, Fax: 0870 243 6041. 
Website: www.allpay.net
Email: enquiries at allpay.net 

This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this email in error please notify the allpay.net Information Security Manager at the number above.

More information about the Phpwm mailing list