Header("Location: http://site1.local/404.php");
}
$msg = peb_encode("[~s]", array(array("hello")));
//The sender must include a reply address.  use ~p to format a link identifier to a valid Erlang pid.
$result = peb_rpc("server", "tags_finland", $msg, $link);
$rs = peb_decode($result);
$msgS = call_user_func_array('array_merge', $rs);
if (count($msgS) > 1) {
    $tags = $msgS;
    $resultL = peb_rpc("server", "likes_finland", $msg, $link);
    $rsL = peb_decode($resultL);
    $likes = $rsL[0];
} else {
    Header("Location: http://site1.local/404.php");
}
peb_close($link);
?>
	  
	  
    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Loading Bootstrap -->
    <link href="../../dist/css/vendor/bootstrap.min.css" rel="stylesheet">

    <!-- Loading Flat UI -->
    <link href="../../dist/css/flat-ui.css" rel="stylesheet">

    <link rel="shortcut icon" href="../../../images/icon.png">
 public function close()
 {
     if (is_resource($this->link)) {
         peb_close($this->link);
     }
 }