include '../dbcon.php'; if (!$logged) { die(header('Location: ../')); } $regest_name = (isset($_GET['id'])?$_GET['id']:''); $editversion = '5'; // get google drive ID $filename = '/nlp/projekty/ahisto/public_html/dokumenty/'.$regest_name.'.xml.id'; $gdid = ''; if (file_exists($filename)) { $gdid = trim(fgets(fopen($filename, 'r'))); } ?>