4 * Get a screenshot for a website.
6 if (file_exists(__DIR__ . '/../src/phancap/Autoloader.php')) {
7 include_once __DIR__ . '/../src/phancap/Autoloader.php';
8 Autoloader::register();
10 include_once 'phancap/Autoloader.php';
13 $options = new Options();
15 $options->parse($_GET);
16 } catch (\InvalidArgumentException $e) {
17 header('HTTP/1.0 400 Bad Request');
18 header('Content-type: text/plain');
19 echo $e->getMessage();
23 var_dump($options->values);