corrade-http-templates – Diff between revs 70 and 82

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 70 Rev 82
Line 31... Line 31...
31 'type' => 'Texture', 31 'type' => 'Texture',
32 'format' => 'Png' 32 'format' => 'Png'
33 ); 33 );
34 array_walk($params, 34 array_walk($params,
35 function(&$value, $key) { 35 function(&$value, $key) {
36 $value = rawurlencode($key)."=".rawurlencode($value); 36 $value = urlencode($key)."=".urlencode($value);
37 } 37 }
38 ); 38 );
39 $postvars = implode('&', $params); 39 $postvars = implode('&', $params);
40 if (!($curl = curl_init())) { 40 if (!($curl = curl_init())) {
41 print 0; 41 print 0;
Line 69... Line 69...
69 #### 69 ####
70 # II. Convert the image data to a PNG of size 512x512 70 # II. Convert the image data to a PNG of size 512x512
71 $im = imagescale( 71 $im = imagescale(
72 imagecreatefromstring( 72 imagecreatefromstring(
73 base64_decode( 73 base64_decode(
74 rawurldecode( 74 urldecode(
75 wasKeyValueGet( 75 wasKeyValueGet(
76 "data", 76 "data",
77 $return 77 $return
78 ) 78 )
79 ) 79 )