manipulating files with php

From: Date: Wed, 09 May 2001 19:49:30 +0000
Subject: manipulating files with php
Groups: php.general 
Request: Send a blank email to php-general+get-52170@lists.php.net to get a copy of this message
I am creating a CRM system using php for my final year university project. I would like to enable the storing of files on the system. However I want to restrict access to these files according to privilege tables stored in local mysql tables. In order to prevent access to the files by simply typing the url, they would be stored outside the web directory. Is it possible to create a php page which will read a local file from outside the web directory and pass the data straight to the http output, in affect allowing checking of a users status before allowing access to the file? I would be grateful for any suggestions, Thanks, Andrew

« previous php.general (#52170) next »