I am using an Apache Web Server with php, mod_frontpage, and mod_trigger installed. Basically what I am trying to do is put a trigger on a CGI like author.exe (frontpage CGI for editing a document) so that I can detect (with PHP) the document name and user that is trying to edit the document. The PHP script should consult a list of users and their rights and decide if the user should be allowed to edit this file. If so, the request will go on. If not, I want to be able to STOP the request. How can I do this with PHP?
Thank you,
Andrew