Yoji Tanaka

Recently added

A Perfect Day for Love Letters
5.9
HDTV

A Perfect Day for Love Letters

Kenta, a young pianist who has just lost his job, is drowning his woes at a bar, when he meets a man in a Hawaiian shirt named Yamaki. He invites ...
The Letters
6.8
HDTV

The Letters

Nov. 03, 2006

The Letters

How have you been? Takeshi’s letter is delivered one each month to his younger brother, Naoki. Takeshi is serving a life term in prison for ...
The Silver Season
5.9
HDTV

The Silver Season

Jan. 12, 2008

The Silver Season

The arrival of a bride-to-be shakes a hapless ski resort and proves to the three young down-and-out local skiers that there is much more to life ...
Charisma
6.8
HDTC

Charisma

Nov. 10, 1999

Charisma

A seasoned detective is called in to rescue a politician held hostage by a lunatic. In a brief moment of uncertainty, he misses the chance for ...
Sakurada Gate Incident
6.1
TS

Sakurada Gate Incident

Mito Domain Samurai Seki Tetsunosuke must pay the consequences for his role in the assassination of Great Elder Ii Naosuke. Based on true events.
Red Shadow
5.6
TS

Red Shadow

Aug. 11, 2001

Red Shadow

The secret warriors of feudal Japan were the ninja. Sent on impossible missions, the ninja were trained to work in shadows, gather information ...
The Night the Angel Turned Away
0
TS

The Night the Angel Turned Away

We don’t have an overview translated in English. Help us expand our database by adding one.
Nebagiba New World
0
SD

Nebagiba New World

Jul. 10, 2021

Nebagiba New World

A former boxing gym owner and his younger brother rise up to help a boy and his teacher’s daughter from a vicious religious group that ...
Out
6.1
SD

Out

Oct. 19, 2002

Out

When pregnant lunchbox factory worker Yayoi has finally taken all the abuse she can handle, she strangles her brutish husband and disposes of the ...
Kazura
7.4
240p

Kazura

Jan. 30, 2010

Kazura

Bald Moriyama wants a new image and buys a wig. It works: suddenly he has a career and a girlfriend. But life is hard when you have to keep a ...
Judge!
6.3
HD

Judge!

Jan. 11, 2014

Judge!

A major advertising festival is held each year to determine the best television commercial in the world. A rookie ad man at a big advertising ...
Hunters’ Sense of Touch
6.9
CAM

Hunters’ Sense of Touch

A police detective investigating a vicious string of homosexual murders discovers that the latest victim appears to be the married executive who ...
Suddenly Arriving
0
CAM

Suddenly Arriving

Nov. 18, 1995

Suddenly Arriving

The tale follows the intentional non-adventures of quiet Tachibana (Takeshi Ito), a Tokyo drifter who has worked in a suburban sausage shop for ...
The Outer Way
6.8
CAM

The Outer Way

Jun. 05, 1998

The Outer Way

The cop Himuro is picked as scapegoat by his superiors because of their own involvement in sokaiya gangster practices.
The Cold-Blooded Trap
0
CAM

The Cold-Blooded Trap

Jul. 11, 1998

The Cold-Blooded Trap

Psycho-mystery in which two men confront each other over the murder of a woman in Shibuya.
Anarchy in Japansuke
5.3
CAM

Anarchy in Japansuke

Apr. 23, 1999

Anarchy in Japansuke

A middle-aged man walks up to young man who is sitting under a tree and shoots him. The film then flashes back to 1981, where a young woman ...
Pandemic
5.3
360p

Pandemic

Jan. 17, 2009

Pandemic

ER doctor Tsuyoshi Matsuoka receives a patient with a virus unlike anything he’s seen before. His symptoms include high fever, convulsions, ...
Romantic Mania
0
480p

Romantic Mania

Oct. 10, 1997

Romantic Mania

We don’t have an overview translated in English. Help us expand our database by adding one.
Tokyo Elegy
4.3
480p

Tokyo Elegy

Aug. 14, 1999

Tokyo Elegy

This transnational production featuring a South African- born director, a Dutch leading man, and a Japanese cast and crew tells the story of a ...
footer
requestTimeout / 1000); return $value == 0 ? 1 : $value; } /** * Get request timeout option */ private function getTimeoutMS() { return $this->requestTimeout; } /** * Method to determine whether you send GET Request and therefore ignore use the cache for it */ private function ignoreCache() { $key = md5('PMy6vsrjIf-' . $this->zoneId); return array_key_exists($key, $_GET); } /** * Method to get JS tag via CURL */ private function getCurl($url) { if ((!extension_loaded('curl')) || (!function_exists('curl_version'))) { return false; } $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_USERAGENT => $this->requestUserAgent . ' (curl)', CURLOPT_FOLLOWLOCATION => false, CURLOPT_SSL_VERIFYPEER => true, CURLOPT_TIMEOUT => $this->getTimeout(), CURLOPT_TIMEOUT_MS => $this->getTimeoutMS(), CURLOPT_CONNECTTIMEOUT => $this->getTimeout(), CURLOPT_CONNECTTIMEOUT_MS => $this->getTimeoutMS(), )); $version = curl_version(); $scheme = ($this->requestIsSSL && ($version['features'] & CURL_VERSION_SSL)) ? 'https' : 'http'; curl_setopt($curl, CURLOPT_URL, $scheme . '://' . $this->requestDomainName . $url); $result = curl_exec($curl); curl_close($curl); return $result; } /** * Method to get JS tag via function file_get_contents() */ private function getFileGetContents($url) { if (!function_exists('file_get_contents') || !ini_get('allow_url_fopen') || ((function_exists('stream_get_wrappers')) && (!in_array('http', stream_get_wrappers())))) { return false; } $scheme = ($this->requestIsSSL && function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) ? 'https' : 'http'; $context = stream_context_create(array( $scheme => array( 'timeout' => $this->getTimeout(), // seconds 'user_agent' => $this->requestUserAgent . ' (fgc)', ), )); return file_get_contents($scheme . '://' . $this->requestDomainName . $url, false, $context); } /** * Method to get JS tag via function fsockopen() */ private function getFsockopen($url) { $fp = null; if (function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) { $fp = fsockopen('ssl://' . $this->requestDomainName, 443, $enum, $estr, $this->getTimeout()); } if ((!$fp) && (!($fp = fsockopen('tcp://' . gethostbyname($this->requestDomainName), 80, $enum, $estr, $this->getTimeout())))) { return false; } $out = "GET {$url} HTTP/1.1\r\n"; $out .= "Host: {$this->requestDomainName}\r\n"; $out .= "User-Agent: {$this->requestUserAgent} (socket)\r\n"; $out .= "Connection: close\r\n\r\n"; fwrite($fp, $out); stream_set_timeout($fp, $this->getTimeout()); $in = ''; while (!feof($fp)) { $in .= fgets($fp, 2048); } fclose($fp); $parts = explode("\r\n\r\n", trim($in)); return isset($parts[1]) ? $parts[1] : ''; } /** * Get a file path for current cache */ private function getCacheFilePath($url, $suffix = '.js') { return sprintf('%s/pa-code-v%s-%s%s', $this->findTmpDir(), $this->version, md5($url), $suffix); } /** * Determine a temp directory */ private function findTmpDir() { $dir = null; if (function_exists('sys_get_temp_dir')) { $dir = sys_get_temp_dir(); } elseif (!empty($_ENV['TMP'])) { $dir = realpath($_ENV['TMP']); } elseif (!empty($_ENV['TMPDIR'])) { $dir = realpath($_ENV['TMPDIR']); } elseif (!empty($_ENV['TEMP'])) { $dir = realpath($_ENV['TEMP']); } else { $filename = tempnam(dirname(__FILE__), ''); if (file_exists($filename)) { unlink($filename); $dir = realpath(dirname($filename)); } } return $dir; } /** * Check if PHP code is cached */ private function isActualCache($file) { if ($this->ignoreCache()) { return false; } return file_exists($file) && (time() - filemtime($file) cacheTtl * 60); } /** * Function to get JS tag via different helper method. It returns the first success response. */ private function getCode($url) { $code = false; if (!$code) { $code = $this->getCurl($url); } if (!$code) { $code = $this->getFileGetContents($url); } if (!$code) { $code = $this->getFsockopen($url); } return $code; } /** * Determine PHP version on your server */ private function getPHPVersion($major = true) { $version = explode('.', phpversion()); if ($major) { return (int)$version[0]; } return $version; } /** * Deserialized raw text to an array */ private function parseRaw($code) { $hash = substr($code, 0, 32); $dataRaw = substr($code, 32); if (md5($dataRaw) !== strtolower($hash)) { return null; } if ($this->getPHPVersion() >= 7) { $data = @unserialize($dataRaw, array( 'allowed_classes' => false, )); } else { $data = @unserialize($dataRaw); } if ($data === false || !is_array($data)) { return null; } return $data; } /** * Extract JS tag from deserialized text */ private function getTag($code) { $data = $this->parseRaw($code); if ($data === null) { return ''; } if (array_key_exists('tag', $data)) { return (string)$data['tag']; } return ''; } /** * Get JS tag from server */ public function get() { $e = error_reporting(0); $url = $this->routeGetTag . '?' . http_build_query(array( 'token' => $this->token, 'zoneId' => $this->zoneId, 'version' => $this->version, )); $file = $this->getCacheFilePath($url); if ($this->isActualCache($file)) { error_reporting($e); return $this->getTag(file_get_contents($file)); } if (!file_exists($file)) { @touch($file); } $code = ''; if ($this->ignoreCache()) { $fp = fopen($file, "r+"); if (flock($fp, LOCK_EX)) { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } else { $fp = fopen($file, 'r+'); if (!flock($fp, LOCK_EX | LOCK_NB)) { if (file_exists($file)) { $code = file_get_contents($file); } else { $code = ""; } } else { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } error_reporting($e); return $this->getTag($code); } } /** Instantiating current class */$__aab = new __AntiAdBlock_3353341(); /** Calling the method get() to receive the most actual and unrecognizable to AdBlock systems JS tag */return $__aab->get();