Hi All I am currently working on a simple document management system in PHP. Metadata and revision histories and other relevant data is stored in a PostgreSQL database.
I would like to set up this system so that there is NO access to any documents through the filesystem (web folders etc.) Hence, the ideal situation is the following: (much simplified) The user is sent to an URL such as: http://www.blah.com/document.php?docid=9994112 This script document.php pushes the Word Document (or whatever type of document it may be) to the user's browser which in turn loads the relevant application. Now, normally when a user clicks "Save" it will attempt to save the file back to the Temporary Internet Files directory or something similar. I would like to make it possible for the user to simply be able to hit Save. The request is then sent back (a webdav request) to http://www.blah.com/document.php?docid=9994112 where this script can then retrieve the body of the file saved back to the web and then store it on the server file system as it pleases. That PHP script then updates the metadata in the PostgreSQL database. So basically what I want to use of WebDAV is its facility for saving "back to the web". I'm not really interested in locking or versioning etc. Will PHP and WebDAV support what I am looking for here? If not, is there anything else that will? The key point is that I must give the users a transparent way of saving back to the web without them having any access to the documents through shares etc. Thanks in advance. --- Adam Whitehead Software Developer - CSM Technology Microsoft Certified Professional (MCP) Ph: (08) 89361 455 ** Mobile (0411) 241 120 E-mail: [EMAIL PROTECTED] www.csm.com.au This e-mail, including any attachments, is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged. Any information contained in this e-mail is not to be used or disclosed for any purpose other than the purpose for which you received it. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this e-mail by mistake, please delete this e-mail permanently from your system. WARNING: Although the company has taken reasonable precautions to ensure no viruses are present in this e-mail, the company can not accept responsibility for any loss or damage arising from the use of this e-mail or attachments. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php