Stanley Fung

Recently added

Tai Chi Zero
6
DVDScr

Tai Chi Zero

Sep. 27, 2012

Tai Chi Zero

In legendary Chen Village, everyone is a martial arts master, using their powerful Chen Style Tai Chi in all aspects of their lives. Lu Chan has ...
7½ Detectives
5.9
mHD

7½ Detectives

Jul. 09, 1988

7½ Detectives

Taiwan Comedy directed by Kevin Chu Yen-Ping and starring Eric Tsang and Stanley Fung.
Hooked on You
6.6
mHD

Hooked on You

Jun. 28, 2007

Hooked on You

Hong Kong actress and pop star Miriam Yeung stars as an eligible bachelorette who reluctantly takes a job as a fishmonger to pay off her ...
Buddy Cops
0
mHD

Buddy Cops

Apr. 21, 2016

Buddy Cops

After the hot-tempered police detective Fei messes up yet another operation, he is transferred to a fictional department that houses all the ...
Look Out, Officer!
5.9
WEBRip

Look Out, Officer!

Jul. 27, 1990

Look Out, Officer!

After police officer Piao is murdered, his soul cannot be at rest for his murder has been written off as a suicide. Therefore the heavens send ...
Blood Stained Tradewind
5.7
WEBRip

Blood Stained Tradewind

“Shing (Alex Fong) and Hsiong (Waise Lee) are competitive young men raised by the head of a powerful Triad group. Shing appears to have the ...
The Kid Vs the Cop
0
WEBRip

The Kid Vs the Cop

Jan. 01, 1997

The Kid Vs the Cop

The Kid Vs the Cop is a Taiwanese Comedy directed by Kevin Chu Yen-Ping and starring Stanley Fung.
Where’s Officer Tuba?
5.9
WEBRip

Where’s Officer Tuba?

Tuba is a fainthearted cop who prefers to play in the brass section of the police band to pounding the streets. One day, he finds himself caught ...
Shy Spirit
5.9
WEBRip

Shy Spirit

Jan. 01, 1988

Shy Spirit

Two feuding families brag about their sons on christening day. One, called Long-life, is destined to die early, while Sing, the other, will do ...
The Musical Vampire
6
WEBRip

The Musical Vampire

Sep. 04, 1992

The Musical Vampire

A crazy white scientist resurrects a corpse with a werid chemical creating a super hopping ghost. The only thing that can somewhat control it is ...
The Young Tiger
4.3
WEBRip

The Young Tiger

Sep. 06, 1973

The Young Tiger

A spoilt rich kid turns up at a fu school to show off, but he gets clobbered by the boastful Little Tiger, who is later framed for the ...
My Lucky Stars
6.3
TS

My Lucky Stars

Feb. 10, 1985

My Lucky Stars

Two Hong-Kong cops are sent to Tokyo to catch an ex-cop who stole a large amount of money in diamonds. After one is captured by the Ninja-gang ...
Those Merry Souls
5.7
TS

Those Merry Souls

May. 30, 1985

Those Merry Souls

Chiu Chi-Lung and Ng Kuai-Tak are two movie stunt actors in Hong Kong and are suspicious of Lung’s father Chiu’s mysterious behavior. ...
Twinkle, Twinkle, Lucky Stars
6.2
TS

Twinkle, Twinkle, Lucky Stars

The third installment in the Lucky Stars series, following Winners and Sinners and My Lucky Stars. The team are released from prison to play ...
The Goofy Gang
5.3
TS

The Goofy Gang

Feb. 19, 1987

The Goofy Gang

Wai is a waiter in a country club. One day at work he is humiliated by the wife of a millionaire Harry Tse; and in order to get even, he and his ...
Carry on Dancing
5.4
TS

Carry on Dancing

May. 07, 1988

Carry on Dancing

Cheung Sheung and Tze Ngor are twin sisters. Tze Ngor is a lunatic and stays in a mental hospital. But out of a madcap incident, Cheung Sheung is ...
Ghost Punting
5.4
TS

Ghost Punting

Feb. 27, 1992

Ghost Punting

The “Five Lucky Stars” attempt to help a restless ghost take revenge on the evil drug gang who took his life. At the same time, they ...
How to Meet the Lucky Stars
5.2
TS

How to Meet the Lucky Stars

How to Meet the Lucky Stars is a 1996 Hong Kong film and the final film in the Lucky Stars film series. Featuring the “Lucky Stars” ...
Little Big Master
7.2
TS

Little Big Master

Mar. 19, 2015

Little Big Master

The story of a hopeful headmaster who perseveres in running a kindergarten for underprivileged children in Yuen Long, despite many challenges and ...
The Man from Vietnam
0
SD

The Man from Vietnam

Dec. 03, 1982

The Man from Vietnam

The Man from Vietnam is a Hong Kong Crime-Drama directed by Clarence Ford and starring Stanley Fung.
Oh, My Cops!
5.7
SD

Oh, My Cops!

Jul. 20, 1983

Oh, My Cops!

Buddy cops Porky (Kent Cheng) and Big Mouth (Wong Ching) are promoted to the anti-prostitution division after solving a robbery case. In their ...
Return of the Lucky Stars
5.3
240p

Return of the Lucky Stars

Hong Kong Police Supt. Walter Tso arrests Big Dai, the reformed leader of a criminal corporation. When Dai asked his brother Richard Mao to turn ...
Little Cop
6.1
240p

Little Cop

Mar. 25, 1989

Little Cop

Ever since he was a child, Lee Chi-kin has been determined to become a police officer, despite the fact that he comes from a family of criminals. ...
Vampire Buster
6.1
240p

Vampire Buster

Jun. 08, 1989

Vampire Buster

In ancient China, a demon was defeated in a fierce battle with a priest, who sealed it’s evil spirit in a vase. Centuries later, during the ...
Family Day
5.2
240p

Family Day

Sep. 20, 1990

Family Day

Struggling to support a wife a son and his sick mother a kind-hearted man is forced to work the streets as a pickpocket.
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();