corrade-http-templates – Diff between revs 72 and 82
?pathlinks?
Rev 72 | Rev 82 | |||
---|---|---|---|---|
Line 34... | Line 34... | |||
34 | 'item' => $uuid, |
34 | 'item' => $uuid, |
|
35 | 'data' => wasArrayToCSV($data) |
35 | 'data' => wasArrayToCSV($data) |
|
36 | ); |
36 | ); |
|
37 | array_walk($params, |
37 | array_walk($params, |
|
38 | function(&$value, $key) { |
38 | function(&$value, $key) { |
|
39 | $value = rawurlencode($key)."=".rawurlencode($value); |
39 | $value = urlencode($key)."=".urlencode($value); |
|
40 | } |
40 | } |
|
41 | ); |
41 | ); |
|
42 | $postvars = implode('&', $params); |
42 | $postvars = implode('&', $params); |
|
43 | if (!($curl = curl_init())) { |
43 | if (!($curl = curl_init())) { |
|
44 | print 0; |
44 | print 0; |