CFM URL/FORM param extractor

Ditutup Dipasang Feb 24, 2010 Dibayar saat pengiriman
Ditutup Dibayar saat pengiriman

Project context:

I need transfer structured data from my client software to ColdFusion 7 powered server.

f.E. I want to pass array of 3 elements. each element has 2 fields.

struct Item {

int id;

string name;

}

Item data[] = {{1, "Joe"}, {2, "Mary"}, {5, "Steve"}};

-----------------

For implementation I plan to encode each value as ARRAYNAME_INDEX_FIELD=VALUE

for Example above I will have next POST data:

data_0_id=1&data_0_name=Joe&data_1_id=2&data_1_name=Mary&data_2_id=5&data_2_name=Steve

-----------------

Project description:

I need CFM function that will have signature like

object[] ExtractData(object params, string prefix)

where "params" is either FORM or URL object. (As I understand I can use any CFM structure object)

and "prefix" is ARRAYNAME part of key (word "data" from example above)

result must be array of CF structures

1. GAF escrow only.

2. Must work under CF 7

I think that this task is about one hour work for experienced CFM developer.

Cold Fusion

ID Proyek: #621097

Tentang proyek

2 proposal Proyek online Aktif Mar 31, 2010

2 freelancer rata-rata menawar $138 untuk pekerjaan ini

code808

Using the details provided in your description I've completed and tested the function you require and can provide it immediately.

$50 USD dalam 0 hari
(1 Ulasan)
1.0
SigmaVisual

We can help in your project, please check PMB to see our related experience.

$225 USD dalam 4 hari
(0 Ulasan)
3.0