note 49837 added to ref.sqlite

From: Date: Thu, 10 Feb 2005 02:03:19 +0000
Subject: note 49837 added to ref.sqlite
Groups: php.notes 
Request: Send a blank email to php-notes+get-84755@lists.php.net to get a copy of this message
This may have been obvious to others, but I had a tough time finding the info. The default location for the actual database file is the same location of the php doc that created the database. You can alter this behavior by specifying the full path in the creation call: <php $db = sqlite_open("/absolute/path/my_sqlite.db"); ?> Note that if you used the default location, the db file may be served up by the webserver if it is in a the http document path. This is obviously a security risk that should be avoided. //Max ---- Manual Page -- http://www.php.net/manual/en/ref.sqlite.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49837 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49837&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49837&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49837&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49837&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49837&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49837&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84755) next »