Newman's Problem with Images.
| From: | Philip J. Newman | Date: | Thu, 05 Jun 2003 08:58:16 +0000 |
| Subject: | Newman's Problem with Images. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150307@lists.php.net to get a copy of this message | ||
My problem is this:
I have a site that has 3 levels of access.
1,2,3 ....
when i upload files to say $unixtimestamp/image1.jpg anyone can list the images in this directory
$unixtimestamp/. I would like to hide the images out side the doc root ... is this possable .. so i
can load something like /image/image.php?no=1 and it loads $unixtimestamp/image1.jpg if the access
level is right .. else it would load nothing ....
Any Ideas where to start?
/ Phil