Changeset 5083 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 09/09/11 15:26:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r5079 r5083 4235 4235 } 4236 4236 4237 function show_decript($params ,$dec=0){4237 function show_decript($params){ 4238 4238 $source = $params['source']; 4239 //error_log("source: $source\nversao: " . PHP_VERSION); 4240 4241 if ($dec == 0) 4242 { 4243 $source = str_replace(" ", "+", $source,$i); 4244 if (version_compare(PHP_VERSION, '5.2.0', '>=')){ 4245 if(!$source = base64_decode($source,true)) 4246 return "error ".$source."Espaï¿œos ".$i; 4247 4248 } 4249 else { 4250 if(!$source = base64_decode($source)) 4251 return "error ".$source."Espaï¿œos ".$i; 4252 } 4239 //error_log("source: $source\nversao: " . PHP_VERSION, 3, '/tmp/teste.log'); 4240 $source = str_replace(" ", "+", $source,$i); 4241 4242 if (version_compare(PHP_VERSION, '5.2.0', '>=')){ 4243 if(!$source = base64_decode($source,true)) 4244 return "error ".$source."Espaços ".$i; 4245 4246 } 4247 else { 4248 if(!$source = base64_decode($source)) 4249 return "error ".$source."Espaços ".$i; 4253 4250 4254 4251 }
Note: See TracChangeset
for help on using the changeset viewer.