corrade-http-templates – Diff between revs 76 and 82
?pathlinks?
Rev 76 | Rev 82 | |||
---|---|---|---|---|
Line 28... | Line 28... | |||
28 | 'password' => $PASSWORD, |
28 | 'password' => $PASSWORD, |
|
29 | 'type' => 'scripts' |
29 | 'type' => 'scripts' |
|
30 | ); |
30 | ); |
|
31 | array_walk($params, |
31 | array_walk($params, |
|
32 | function(&$value, $key) { |
32 | function(&$value, $key) { |
|
33 | $value = rawurlencode($key)."=".rawurlencode($value); |
33 | $value = urlencode($key)."=".urlencode($value); |
|
34 | } |
34 | } |
|
35 | ); |
35 | ); |
|
36 | $postvars = implode('&', $params); |
36 | $postvars = implode('&', $params); |
|
37 | if (!($curl = curl_init())) { |
37 | if (!($curl = curl_init())) { |
|
38 | print 0; |
38 | print 0; |