Gérard Courant

Recently added

Cocktail Morlock
0
Bluray

Cocktail Morlock

Jan. 31, 1981

Cocktail Morlock

Surroundings of the Canal Saint-Martin’s in Paris, a popular district where modernization is just about to begin.
Genova Genova
0
Bluray

Genova Genova

Apr. 05, 1984

Genova Genova

A song of love to the city of Genoa. The film wanders the streets of the city center and explore the beautiful cemetery and then climb the hills ...
Spoonful
0
Bluray

Spoonful

Apr. 06, 1984

Spoonful

Every year since 1980, I have filmed the Good Friday ceremony reconstructing the Passion of Christ in Burzet, a remote village in the Ardèche ...
About Greece
0
Bluray

About Greece

Feb. 07, 1985

About Greece

Gérard Courant films the routes of his voyage in Greece with a Super8 camera. Reflections, waves, ports and landscapes are edited at a dizzying ...
Coude à coude
0
Bluray

Coude à coude

Jul. 05, 1996

Coude à coude

Coude à coude is an episode of Gérard Courant’s Filmed Carnets that follows Velo Love (July 1 to 3, 1996), in which journalist and ...
Chambéry-Les Arcs
0
Bluray

Chambéry-Les Arcs

Nov. 01, 1996

Chambéry-Les Arcs

Under the expert eye of Gérard Courant’s camera, Janine Anquetil, the widow of cycling champion Jacques Anquetil, five-time winner of the ...
Amours décolorées
0
Bluray

Amours décolorées

Feb. 02, 1998

Amours décolorées

Amours décolorées is a cinematographic poem to the glory of Mariola San Martin, model, stylist, dancer and Spanish photographer.
Voyage au centre du monde
0
Bluray

Voyage au centre du monde

Voyage au centre du monde is, following an invitation from the new Belgrade town hall and the government of the Republika Serbska, the film ...
Zanzibar à Saint-Sulpice
0
Bluray

Zanzibar à Saint-Sulpice

30 years after their artistic revolution, members of the Zanzibar group meet in 1999 in Saint-Sulpice Square in Paris (France) in front of Gérard ...
Encore Cinématé !
0
Bluray

Encore Cinématé !

Jan. 25, 2001

Encore Cinématé !

Encore Cinématé ! is a fake Cinématon by Gérard Courant, the author and designer of this famous film series. It is not part of the anthology and ...
Périssable Paradis
0
Bluray

Périssable Paradis

Dec. 27, 2002

Périssable Paradis

15 years through Le Bois de Vincennes – The “before” and “after” 1999 storm destructions.
Alicudi
0
Bluray

Alicudi

Jul. 03, 2008

Alicudi

“Compression de À travers l’univers” is the reduction of my film À travers l’univers from 1 hour to 18 minutes into a ...
Vivre à Naples Et Mourir
0
Bluray

Vivre à Naples Et Mourir

“On the occasion of the premiere of Nel Regno di Napoli in Cannes in 1978, Werner Schroeter gave me an audio interview about this film and ...
Nuits transparentes
0
Bluray

Nuits transparentes

Apr. 14, 2011

Nuits transparentes

Strolling through France (Roanne, Nice and Carcassonne) with some excursions abroad (Munich, Montreal, New York).
Vie
0
Bluray

Vie

Apr. 14, 2011

Vie

A cinematographic logbook around the mythical island of Alicudi in Sicily.
Alicudi 1 Bella
0
Bluray

Alicudi 1 Bella

Apr. 14, 2011

Alicudi 1 Bella

A cinematographic logbook around the mythical island of Alicudi in Sicily.
Passions (entretien avec Philippe Garrel I)
0
Bluray

Passions (entretien avec Philippe Garrel I)

A few moments after the arrival of the first stage of the Critérium du Dauphiné 1970, Roanne-Chalon-sur-Saône (224 kilometers) which has just ...
Zouzou à Saint-Denis
0
Bluray

Zouzou à Saint-Denis

Jun. 03, 2012

Zouzou à Saint-Denis

1300 meters from the arrival of the 13th stage Carpentras-Orcières Merlette (192 kms), then, in the Col de Sauze, the 14th stage ...
L’Artifice et le factice
0
HDTC

L’Artifice et le factice

“L’Artifice et le factice” is the episode that covers the period from January 1, 1988 to December 31, 1988 of my filmed Notebooks.
Teo Hernandez à Paris
0
HDTC

Teo Hernandez à Paris

1300 meters from the arrival of the 13th stage Carpentras-Orcières Merlette (192 kms), then, in the Col de Sauze, the 14th stage ...
Jardins clandestins
0
HDTC

Jardins clandestins

Aug. 24, 2012

Jardins clandestins

On 15 December 1980, Joseph Morder, with the joyful complicity of his Morlock compatriots, created the Morlock Academy in the salons of the Club ...
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();