Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
--TEST-- rar_open()/RarEntry::getStream() (headers level password) --SKIPIF-- --FILE-- should fail (no password):\n"; $rar_file1 = rar_open(dirname(__FILE__).'/encrypted_headers.rar'); $entries = rar_list($rar_file1); echo "\n--> should fail (wrong password):\n"; $rar_file1 = rar_open(dirname(__FILE__).'/encrypted_headers.rar', 'wrongpassword'); $entries = rar_list($rar_file1); echo "\n--> should work:\n"; $rar_file2 = rar_open(dirname(__FILE__).'/encrypted_headers.rar', 'samplepassword'); $entries = rar_list($rar_file2); echo "Found " . count($entries) . " files.\n"; echo "Content of first one follows:\n"; //reset($entries)->extract(false, "./temp.txt"); $stream = reset($entries)->getStream(); var_dump($stream); if ($stream !== FALSE) { while (!feof($stream)) { echo fread($stream, 128); } } echo "\n"; echo "Done\n"; --EXPECTF-- --> should fail (no password): Warning: rar_list(): ERAR_MISSING_PASSWORD (password needed but not specified) in %s on line %d --> should fail (wrong password): Warning: rar_list(): ERAR_BAD_DATA in %s on line %d --> should work: Found 2 files. Content of first one follows: resource(%d) of type (stream) Encrypted file 1 contents. Done