Profile cover photo
Profile photo
Darko Miletic
112 followers
112 followers
About
Darko's posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment
ABC Ultima hora: Las cámaras graban cómo un diputado ebrio viola a una mujer en Bolivia. http://goo.gl/mag/HXDz6QO

Post has attachment
ABC Ultima hora: Un japonés aburrido de ser camionero se va de turista a la guerra siria. http://goo.gl/mag/LrEu7IE

Post has attachment
ABC Ultima hora: Solo ocho de las mujeres muertas por violencia de género denunciaron a su agresor. http://goo.gl/mag/nBAW4ds

This is for all owners of Motorola s10-hd - something nobody bothered to document in the manual...

https://forums.motorola.com/comment/336595

Post has attachment

Post has attachment

If you wanted to handle properly web content compression from PHP here is a code snippet for that:

$default_compress_method = null;        
$output = 'sometext';        
if (!empty($_SERVER['HTTP_ACCEPT_ENCODING'])) {
  $vv = $_SERVER['HTTP_ACCEPT_ENCODING'];
  if (stripos($vv, 'gzip') !== false) {
    $default_compress_method = 'gzip';
    $output = gzencode($output);
  } else if (stripos($vv, 'deflate') !== false) {
    $default_compress_method = 'deflate';
    $output = gzdeflate($output);
  } else if (stripos($vv, 'compress') !== false) {
    $default_compress_method = 'compress';
    $output = gzcompress($output);
  }
}
        
header('Content-Type: text/html; charset=utf-8');
if ($default_compress_method !== null) {
    header("Content-Encoding: {$default_compress_method}");
}
echo $output;

This of course can be applied to any other type of content (pure text, JSON etc.)
Wait while more posts are being loaded