note 119573 added to sqlite3.open

From: Date: Sun, 10 Jul 2016 03:45:31 +0000
Subject: note 119573 added to sqlite3.open
Groups: php.notes 
Request: Send a blank email to php-notes+get-205936@lists.php.net to get a copy of this message
Just a quick note on not being able to open() two databases together and copy the exact info, say for instance to create a backup db. I searched the net for and answer, none of which served. The comment and solution of attaching seems complicated to me. Eventually I worked out that the same result could be more simply accomplished using the copy() function. <?php copy("old.db", "new.db"); ?> ---- Server IP: 72.52.91.14 Probable Submitter: 41.56.66.100 ---- Manual Page -- http://php.net/manual/en/sqlite3.open.php Edit -- https://master.php.net/note/edit/119573 Del: integrated -- https://master.php.net/note/delete/119573/integrated Del: useless -- https://master.php.net/note/delete/119573/useless Del: bad code -- https://master.php.net/note/delete/119573/bad+code Del: spam -- https://master.php.net/note/delete/119573/spam Del: non-english -- https://master.php.net/note/delete/119573/non-english Del: in docs -- https://master.php.net/note/delete/119573/in+docs Del: other reasons-- https://master.php.net/note/delete/119573 Reject -- https://master.php.net/note/reject/119573 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205936) next »