You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
394 B
20 lines
394 B
<?php
|
|
$NN = './data/'.md5(time()).'.db';
|
|
$COM = "sqlite3 ./data/mysqlitedb.db '.clone {$NN}'";
|
|
$JUJA = `$COM`;
|
|
if( file_exists( $NN ) ){
|
|
$FD = fopen( $NN , "r" );
|
|
if( $FD ){
|
|
header( 'Content-Type: application/vnd.sqlite3;' );
|
|
while(!feof( $FD ) ){
|
|
echo fread( $FD, 2048 );
|
|
};
|
|
fclose( $FD );
|
|
};
|
|
unlink( $NN );
|
|
} else {
|
|
echo "Error!";
|
|
};
|
|
|
|
|
|
?>
|