Warning: include(QJ_start.php): failed to open stream: No such file or directory in /home/ebonnhu1/cvteszt/_inc_BI_Based/biedit.php on line 1
Warning: include(): Failed opening 'QJ_start.php' for inclusion (include_path='.:/opt/remi/php56/root/usr/share/pear:/opt/remi/php56/root/usr/share/php:/usr/share/pear:/usr/share/php') in /home/ebonnhu1/cvteszt/_inc_BI_Based/biedit.php on line 1
SWC-BiEdit
_BI_sqlZIP.inc
aktuális könyvtár:/home/ebonnhu1/cvteszt/_inc_BI_Based_BI_sqlZIP.inc
___0 # <?php
___1 #
___2 # //??/$zipname = str_replace(".SQL",".zip",$myFile); // 'gff_modell.zip';
___3 # #complete serverpath must be given like
___4 # #example "/apache/htdocs/myfile.pdf" ( not "http:xyz.com/myfile.pdf" )
___5 # $DelFilePath = $setup["serverWebrootPath"] . $zipname;
___6 #
___7 # echo($DelFilePath."<hr>");
___8 # //exit;
___9 #
__10 # $_SESSION[DelFilePath]=$DelFilePath;
__11 #
__12 # # delete file if exists
__13 # if (file_exists($DelFilePath)) { unlink ($DelFilePath); }
__14 #
__15 # /*$files = array('Modell/GFF_modell_parameterek_2015.xlsx',
__16 # 'Modell/paks_modell_05_28_2013-as_aron_uj.xlsx',
__17 # 'Modell/web_parameterek.xlsx');
__18 # */
__19 # /*
__20 # $files = array('Modell/web_param.xlsx',
__21 # 'Modell/web_modell.xlsx',
__22 # 'Modell/GFF_modell_futtato.xlsm');
__23 #
__24 # $files = array($myFile);
__25 #
__26 # */
__27 #
__28 # $zip = new ZipArchive;
__29 # $zip->open($zipname, ZipArchive::CREATE);
__30 # foreach ($files as $file) {
__31 # $zip->addFile($file);
__32 # // $zip->addFile($myFile);
__33 # /// DELETE /////
__34 # //??? unlink($file);
__35 # ////////////////
__36 #
__37 # }
__38 #
__39 # $zip->close();
__40 #
__41 # $entry=$DelFilePath;
__42 #
__43 # //$meret = filesize($entry);
__44 # //$ido = date ("Y-m-d H:i:s.", filemtime($entry));
__45 #
__46 # /*
__47 #
__48 #
__49 #
__50 #
__51 # /*
__52 #
__53 # echo("
__54 # <SCRIPT Language='Javascript'>
__55 # alert('ZIP...');
__56 # </script>");
__57 #
__58 # echo("
__59 # <SCRIPT Language='Javascript'>
__60 # alert('$_SESSION[GFF_fileinfo]');
__61 # </script>");
__62 #
__63 # $fazis=2;
__64 #
__65 # include("SX_footer.php");
__66 #
__67 # header('Content-Type: application/zip');
__68 # header('Content-disposition: attachment; filename='.$zipname);
__69 # header('Content-Length: ' . filesize($zipname));
__70 # readfile($zipname);
__71 #
__72 # header('Location: http://e-base.hu/kmodell/SX_kesz.php/');
__73 #
__74 # $fazis=3;
__75 #
__76 # include("SX_footer.php");
__77 #
__78 # echo("
__79 # <SCRIPT Language='Javascript'>
__80 # window.open('SX_kesz.php', '_self');
__81 # </script>");
__82 # */
__83 #
__84 # ?>