Ich habe dein code auf der seite wo stehe der Artikel, bekomme dieser Infos;
array (
'HTTP_HOST' => 'localhost',
'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'de,en-US;q=0.7,en;q=0.3',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate',
'HTTP_REFERER' => 'http://localhost/ubuntu/how_to_transfer_documents_and_files_to_another_computer.php',
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
'CONTENT_LENGTH' => '79',
'HTTP_CONNECTION' => 'keep-alive',
'HTTP_COOKIE' => '_ga=GA1.1.880100454.1580481047; _gid=GA1.1.521233300.1580481048',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_CACHE_CONTROL' => 'max-age=0',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.38 (Debian) Server at localhost Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.38 (Debian)',
'SERVER_NAME' => 'localhost',
'SERVER_ADDR' => '::1',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '::1',
'DOCUMENT_ROOT' => '/var/www/html',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/html/ubuntu/how_to_transfer_documents_and_files_to_another_computer.php',
'REMOTE_PORT' => '32948',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'POST',
'QUERY_STRING' => '',
'REQUEST_URI' => '/ubuntu/how_to_transfer_documents_and_files_to_another_computer.php',
'SCRIPT_NAME' => '/ubuntu/how_to_transfer_documents_and_files_to_another_computer.php',
'PHP_SELF' => '/ubuntu/how_to_transfer_documents_and_files_to_another_computer.php',
'REQUEST_TIME_FLOAT' => 1580831791.398,
'REQUEST_TIME' => 1580831791,