summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite_driver.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-09-19 16:58:13 +0000
committerWez Furlong <wez@php.net>2004-09-19 16:58:13 +0000
commit34d10931e2bef87b43a6ca39510e99c308daa9bc (patch)
tree7be0b7ab975077b57ad0b82b8f02881ff8ef4f4c /ext/pdo_sqlite/sqlite_driver.c
parent6fa469f3676dd95f7d84cb7203806be88754734e (diff)
downloadphp-git-34d10931e2bef87b43a6ca39510e99c308daa9bc.tar.gz
Add "no permission" error code.
Add a uri: psuedo driver; it specifies the name of a resource that contains, as its first line, the actual data source to connect to. The resource can be a local file, or it can be any resource for which PHP has a wrapper. // loads connection data from the file "myapp" $d = new PDO('uri:myapp'); // lets say that public.db.com has a read-only db open for the public // their connection data is also published via the web: // (not so great to resolve this on each request though...) $d = new PDO('uri:http://public.db.com/pdo-connection-data');
Diffstat (limited to 'ext/pdo_sqlite/sqlite_driver.c')
0 files changed, 0 insertions, 0 deletions