PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTTP » HTTP_WebDAV_Server » Bug #8366

Use a prefix to name SQL tables

Details

Request #8366Use a prefix to name SQL tables
Submitted2006-08-05 10:00 UTC
Fromcbonar at free dot fr
Assignedhholzgra
StatusClosed
PackageHTTP_WebDAV_Server
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2006-08-05 10:00 UTC] cbonar at free dot fr

Description:
------------
As it is a php standalone webdav server, it makes sense to use this script on shared hosting services. But most of them provide only one database, that has to be shared between all apps. The usual trick is to prepend a given prefix to the name of every database table.

Test script:
---------------
For instance, I renamed the SQL tables to 'webdav_locks' and 'webdav_properties'.

Actual result:
--------------
It works so far.