Lau Ching-wan

Recently added

Silent Love
7.2
Mini HD

Silent Love

Mar. 06, 1986

Silent Love

A ring of deaf pickpockets led by Heung gather at a fast food restaurant to celebrate the prison release of Panther. There they encounter Kelly ...
1:99 Shorts
5.7
Mini HD

1:99 Shorts

Aug. 04, 2003

1:99 Shorts

Shorts made by 11 directors in order to fight against the SARS epidemy that occurred in China and Hong Kong in 2003. The shorts were produced by ...
Tears and Triumph
6.3
mHD

Tears and Triumph

Sep. 17, 1994

Tears and Triumph

Sai Ming Jun (Anita Yuen) is a single mother who works as an office administrator. But when the company gets taken over, her road suddenly ...
Mad Detective
7.1
mHD

Mad Detective

Nov. 29, 2007

Mad Detective

Bun, a schizophrenic, former police inspector comes out of retirement to help a rookie detective solve a complex murder case involving a missing ...
Overheard 3
6
WEBRip

Overheard 3

May. 30, 2014

Overheard 3

Law was a chauffeur for the rural tycoon Luk, and he was jailed for killing a major land owner in a car accident. It was rumored that Luk was ...
Dealer/Healer
5.5
WEBRip

Dealer/Healer

May. 18, 2017

Dealer/Healer

The movie is based on a true story about a repented gangster preaching the word of God and guiding his brotherhood to turn over a new leaf. Chen ...
A Century of Light and Shadow
0
TS

A Century of Light and Shadow

Revisit 100 years of Chinese cinema through the RTHK TV program A Century of Light and Shadow. Aired in 2005, this interesting and informative ...
Once in a Life-Time
5.2
TS

Once in a Life-Time

May. 11, 1995

Once in a Life-Time

Sean Lau has been secretly in love with comely Vivian Chan since childhood, so when she needs a paper marriage to satisfy the wishes of her sick ...
The Most Wanted
6.5
240p

The Most Wanted

May. 12, 1994

The Most Wanted

Award-winning actor Sean Lau Ching Wan goes undercover in the triads in the gritty cop thriller The Most Wanted. Blackie Lau (Sean Lau Ching Wan) ...
Beginner’s Luck
6.2
240p

Beginner’s Luck

Sep. 29, 1994

Beginner’s Luck

Lau and Chow are roommates and they both dream to strike it rich at the races. They invent a device that allows them to eavesdrop on jockeys in ...
The Bullet Vanishes
6.5
HD

The Bullet Vanishes

Aug. 14, 2012

The Bullet Vanishes

One rainy night in an arms factory near Shanghai, a young female worker accused of stealing a box of bullets from the ruthless Boss Ding is ...
Shock Wave 2
6.6
CAM

Shock Wave 2

Dec. 24, 2020

Shock Wave 2

After suffering life changing injuries in the line of duty, bomb disposal officer Fung turns his back on the police. But when a devastating ...
Doctor Mack
6.8
360p

Doctor Mack

Feb. 17, 1995

Doctor Mack

Since dropping out from the medical school, Lau Mack has been living a humble but contented life, running a small clinic in a shabby area, ...
Romantic Dream
6.4
480p

Romantic Dream

Jun. 24, 1995

Romantic Dream

A spiritualist can put you into a dreamworld where you can have your greatest desire
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();